Search found 4 matches

by newone
2019-05-03T00:23:52-07:00
Forum: Users
Topic: Bash and multiple pdf
Replies: 7
Views: 4440

Re: Bash and multiple pdf

Thanks! This is what I get"-bash: -head: command not found" and the result ist "_000.tif"
by newone
2019-05-03T00:22:55-07:00
Forum: Users
Topic: Bash and multiple pdf
Replies: 7
Views: 4440

Re: Bash and multiple pdf

Code: Select all

for img in ./*.pdf; do
> name=$(convert "$img" -format "%t\n" info: | -head 1)
> convert -density 300 "$img" -depth 8 -strip -background white -alpha background -alpha off ${name}_%03d.tif
> done
-bash: -head: command not found
by newone
2019-05-02T04:59:12-07:00
Forum: Users
Topic: Bash and multiple pdf
Replies: 7
Views: 4440

Re: Bash and multiple pdf

Thanks! Linux RedHat
by newone
2019-05-01T23:23:16-07:00
Forum: Users
Topic: Bash and multiple pdf
Replies: 7
Views: 4440

Bash and multiple pdf

Hi, so here is what I'm trying to do. I have a bunch of PDF files called: 67123_001.pdf 67134_001.pdf which are multiple page pdfs. I would like to convert them to single page .tif files and keep the first number of the name before'_' and increase the count after '_' for each page. So for example if ...