News for hackers. Stuff that matters.
Re:Show HN: A simple CLI app to organize photos by year/mont... by runariot on Monday September 14, 2020 @07:55PM (#24476481)
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'.

Re:Show HN: A simple CLI app to organize photos by year/mont... by runariot on Tuesday September 15, 2020 @05:42AM (#24479445)
here is a command i always use after moving photos from camera

exiftool -r -d %Y/%m/%m_%d/%Y%m%d_%H%M%S%%c.%%e "-filename<CreateDate" ..\2sort\raw

Re:Show HN: A simple CLI app to organize photos by year/mont... by AlexITC on Tuesday September 15, 2020 @11:32PM (#24489304)
While it doesn't do exactly the same, it is in fact, a pretty interesting solution.

I believe it should be good enough if you keep the habit to run such command each time you grab photos from your devices.

Thanks for sharing.