Comment

Comment by runariot

https://exiftool.org/filename.html Check 2nd and 6th sample...

exiftool -d %Y-%m-%d "-directory<datetimeoriginal" image.jpg Move 'image.jpg' into a directory with a name given by DateTimeOriginal, in the form '2006-03-27'.

exiftool -r -d %Y/%m/%d/image_%H%M%S.%%e "-filename<filemodifydate" DIR

Recursively rename all images in 'DIR' and any contained subdirectories to the form 'image_HHMMSS.EXT' (where 'ext' is the original file extension), and move them into a new directory hierarchy based on date of file modification, with path names like '2006/03/27/image_105859.jpg'.

parent runariot 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton