Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #27441
| From | Andreas Kohlbach <ank@spamfence.net> |
|---|---|
| Newsgroups | comp.os.linux.misc |
| Subject | Re: Use of pdftk |
| Date | 2019-06-24 14:21 -0400 |
| Organization | https://news-commentaries.blogspot.com/ |
| Message-ID | <8736jyalpv.fsf@usenet.ankman.de> (permalink) |
| References | <qeqms8$oua$1@dont-email.me> |
On Mon, 24 Jun 2019 14:31:36 -0000 (UTC), db wrote: > > I have a large number of pdf files I want to chain together into > a single file. They come from Windows and the names all have spaces > in them. I can do it by typing in, e.g. > > pdftk 'ab c.pdf' 'e fg.pdf' ... output z.pdf > > This has worked for me with a smaller set, but for this one it's > so many that I want to do it using a script. I tried something like > this: > > pdftk 'ab c.pdf' \ > 'e fg.pdf' \ > ... > output z.pdf > > (the names afre all long, hence the \), > as a script. Chmod it and try to run it, and it says it can't find > those files. What is the difference, and how can I do it? I would > use ls to get a list and emacs the extra stuff into it. But how > can I get it to run? Something like gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=output.pdf "*.pdf" should work. -- Andreas My random thoughts and comments https://news-commentaries.blogspot.com/
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Use of pdftk db <dieterhansbritz@gmail.com> - 2019-06-24 14:31 +0000
Re: Use of pdftk Joe Makowiec <makowiec@invalid.invalid> - 2019-06-24 15:46 +0000
Re: Use of pdftk Richard Kettlewell <invalid@invalid.invalid> - 2019-06-24 17:00 +0100
Re: Use of pdftk Bit Twister <BitTwister@mouse-potato.com> - 2019-06-24 11:36 -0500
Re: Use of pdftk Andreas Kohlbach <ank@spamfence.net> - 2019-06-24 14:21 -0400
Re: Use of pdftk Rich <rich@example.invalid> - 2019-06-24 18:38 +0000
Re: Use of pdftk au76666 <britz@chem.au.dk> - 2019-07-05 08:09 +0000
Re: Use of pdftk Jack Strangio <jackstrangio@yahoo.com> - 2019-07-02 02:42 +0000
csiph-web