You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been a user of this for a long time now and haven't run into this before! I used wget to grab a bunch of pdfs with a script, which would also strip off the first page of each and write to a separate file. I absentmindely forgot to add .pdf in my bash script writing them out, and so my call looked like this, which failed (subbing names):
To skip to the punch line, after re-reading the instructions 10 times I was pretty sure it wasn't my syntax. I renamed file1 to file1.pdf and it worked.
I'm guessing you parse up the command line call to figure out what are page numbers and what are file names using .pdf as a delimiter? In hindsight, I guess this makes sense, as how else would you know what to do with a file name like 1-4 (you rely/anticipate 1-4.pdf)!?
This is mostly for anyone else who stumbles on this, though I wondered if a note in the readme would be helpful. Thanks for taking a look.
The text was updated successfully, but these errors were encountered:
Greetings,
I've been a user of this for a long time now and haven't run into this before! I used
wget
to grab a bunch of pdfs with a script, which would also strip off the first page of each and write to a separate file. I absentmindely forgot to add.pdf
in my bash script writing them out, and so my call looked like this, which failed (subbing names):To skip to the punch line, after re-reading the instructions 10 times I was pretty sure it wasn't my syntax. I renamed
file1
tofile1.pdf
and it worked.I'm guessing you parse up the command line call to figure out what are page numbers and what are file names using
.pdf
as a delimiter? In hindsight, I guess this makes sense, as how else would you know what to do with a file name like1-4
(you rely/anticipate1-4.pdf
)!?This is mostly for anyone else who stumbles on this, though I wondered if a note in the readme would be helpful. Thanks for taking a look.
The text was updated successfully, but these errors were encountered: