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

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

Avoid using global/class-level mutable datatypes like list/dicts

Weakref proxy is for instance only ...