Convert Many PNGs into one PDF incuding all files in Subdirectories in Order
Posted: 2016-07-04T16:05:04-07:00
So I have this structure
Folder1/
/1.png
/2.png
.....
/20.png
Folder2/
/1.png
....
/12.png
...........
Folder10/
/1.png
....etc
I want to put ALL pngs from all of these subfolders into one pdf in the order they're stored in. There are a lot of files with the same names so I can't just flatten the directory without significant time manually renaming the files or else the files would get completely out of order. If I type:
convert *.png Combined.pdf
It ignores subdirectories. What can I do? I'm not an expert at imagemagick or CMD but I learn quickly.
Folder1/
/1.png
/2.png
.....
/20.png
Folder2/
/1.png
....
/12.png
...........
Folder10/
/1.png
....etc
I want to put ALL pngs from all of these subfolders into one pdf in the order they're stored in. There are a lot of files with the same names so I can't just flatten the directory without significant time manually renaming the files or else the files would get completely out of order. If I type:
convert *.png Combined.pdf
It ignores subdirectories. What can I do? I'm not an expert at imagemagick or CMD but I learn quickly.