Deleted Batch-Resize-Recursively-Script

Started by HansDampf, December 01, 2018, 08:18:46 AM

Previous topic - Next topic

HansDampf

Hello :-)
For years now I have used a script to shrink images and save the new version in another folder.

Unfortunately, i lost it through a missing backup.
It has been many years since I built it myself.
Since I am not sure which logic comes from ExifTool I would be grateful for any help.

What did the script do?
- Recursively it went through my picture folder
- For new files (so if there is not a small version)
  -> it has shrunk the original
  -> saved it in another folder under the same folder structure and original filename
  -> Meta information has been adjusted for the width and height

Can someone give me some hints as I can solve this task with exiftool?

Sorry for the english translation from Google ;-)

Phil Harvey

ExifTool can adjust the metadata, but doesn't do image manipulations.  You can use ImageMagick's "convert" utility to do the resizing.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

HansDampf

Thank you Phil, i thought it was exiftool.
Nevermind, i checked imagemagics convert-tool and it seems to be the solution for my script.