Tip to organize photos by date taken as folder name

exiftool -d "./%Y-%m-%d/%%f.%%e" "-filename<createdate" *.JPG

If you don't like the default file names which are mostly like IMG_0001.JPG in the DSLR cameras, you can just use the time stamp using the following command,

exiftool -d "./%Y-%m-%d/IMG_%Y%m%d_%H%M%S_%%-c.%%e" "-filename<createdate" *.JPG

%%-c will kick in the counter for your sub-second shots.

Comments

Popular posts from this blog

Splitting python path using os.path module

To speed up accessing files on nfs shares on a ubuntu machine ...

Multiple repeat error when the regex has multiple wildcards in python re module