moving files to directory by date

Started by asplundj, July 17, 2018, 10:59:35 AM

Previous topic - Next topic

asplundj

I want to move pictures to a directory by date and I want the directory to be in the format 2018-07-17.  I've been using  exiftool "-Directory<DateTimeOriginal" -d "%Y-%m-%d" but that creates a hierarchy of directories e.g 2018->07->17.

Thanks

Phil Harvey

It will only create a hierarchy of directories if you put a "/" between the year/month/day.

But your -d formatting uses a "-", so I don't understand because it should be doing what you want.

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