Search found 2 matches

by keljnr
2018-10-29T04:14:24-07:00
Forum: Users
Topic: Search images in subfolders and convert
Replies: 1
Views: 1775

Search images in subfolders and convert

I have put together a simple script, which when used on the direct parent folder of the files, works fine: cd %~dpnx1 for %%a in (.) do set currentfolder=%%~na magick "*jpg*" "*png*" "*tif*" "%currentfolder%.pdf" It searches for jpg, png and tifs in a folder and converts to a pdf, renaming it as fol...
by keljnr
2018-10-16T03:41:51-07:00
Forum: Users
Topic: Rename image conversion to parent folder name
Replies: 1
Views: 1336

Rename image conversion to parent folder name

I have a simple script to convert all jpegs in a folder into one pdf: magick *jpg* myfile.pdf Is it possible to rename the myfile.pdf to the folder name it sits in? So if the jpgs are in a folder called 'myFolder', the pdf will be myFolder.pdf I have a lot of folders with images and don't want to ma...