Specifying output location

Started by Sam in Oz, December 05, 2022, 10:13:34 PM

Previous topic - Next topic

Sam in Oz

Hi All,

I've done a google takeout and downloaded all my photos and want to organise them by year.  They are sitting on an external drive given that there are too many to fit on my mac.  I've found some great examples for renaming, but am unable to find clear examples of how to specify output location when using the tool.

Ideally, I want to take all the parent folder and all subdirectories, and move them into new subfolders on the external drive based on the year created.

The path to the source files is /Volumes/Seagate/pics and I'd like the output to land in /Volumes/Seagate/YearCreated

I'm an amateur at running anything in terminal, so I would be grateful for any help that can be offered.


Cheers

Sam

Phil Harvey

Hi Sam,

I think you want a command something like this:

exiftool '-directory</Volumes/Seagate/$createdate' -d %Y /Volumes/Seagate/pics

- 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 ($).

Sam in Oz

Hi Phil,

This worked a treat after adding -r to encompass my subdirectories.  Many thanks!

Sam