I figured out problem. I had control characters in my script. Fixed by using the following:
perl -pi -e 's/\r/\n/g' convert.sh
Other methods suggested for getting rid of ^M did not work on Mac. The "?" was appended to the suffix as it was a control character.
Search found 5 matches
- 2015-06-23T10:10:08-07:00
- Forum: Users
- Topic: Appending 2, single page files into a PDF document
- Replies: 7
- Views: 6408
- 2015-06-22T14:25:30-07:00
- Forum: Users
- Topic: Appending 2, single page files into a PDF document
- Replies: 7
- Views: 6408
Re: Appending 2, single page files into a PDF document
I was able on the command line to use
convert b1_0004a.jpg b1_0004b.jpg b1_0004.pdf
It created a 2 page pdf file from both jpgs. Worked fine.
I then tried creating a script and the result was the same as previous all .pdf files created where .pdf?.
The first lines were:
#!/bin/bash
convert b1 ...
convert b1_0004a.jpg b1_0004b.jpg b1_0004.pdf
It created a 2 page pdf file from both jpgs. Worked fine.
I then tried creating a script and the result was the same as previous all .pdf files created where .pdf?.
The first lines were:
#!/bin/bash
convert b1 ...
- 2015-06-22T00:58:41-07:00
- Forum: Users
- Topic: Appending 2, single page files into a PDF document
- Replies: 7
- Views: 6408
Re: Appending 2, single page files into a PDF document
OS is Mac 10.9.5 and IM is ImageMagick 6.9.1-5 Q16 x86_64 2015-06-13. The JPG images were created in a single pass by duplex fujitsu scanner. I'm trying to collate front side with back side of a page into a single PDF. On the rare occassion, I will need to collate up to 4 sides into a single PDF. I ...
- 2015-06-21T16:04:07-07:00
- Forum: Users
- Topic: Appending 2, single page files into a PDF document
- Replies: 7
- Views: 6408
Appending 2, single page files into a PDF document
I have a folder full of scanned pages, either PDF or JPG images that are single page for each file.
I tried creating a script with a long list of convert comments, e.g.
convert b1_0004a.jpg b1_0004b.jpg b1_0004.pdf
convert b1_0005a.jpg b1_0005b.jpg b1_0005.pdf
...
All of the PDF's that were ...
I tried creating a script with a long list of convert comments, e.g.
convert b1_0004a.jpg b1_0004b.jpg b1_0004.pdf
convert b1_0005a.jpg b1_0005b.jpg b1_0005.pdf
...
All of the PDF's that were ...
- 2015-06-21T15:50:49-07:00
- Forum: Users
- Topic: Adding Keywords to PDF
- Replies: 0
- Views: 5564
Adding Keywords to PDF
Is there are way to write PDF Keywords as Document Property with ImageMagick?
I am working on a project for our genealogy group converting mass amounts of genealogical data. I have a spreadsheet with 33,000 names and these names correspond to a file name. I would like to include the metadata of the ...
I am working on a project for our genealogy group converting mass amounts of genealogical data. I have a spreadsheet with 33,000 names and these names correspond to a file name. I would like to include the metadata of the ...