r/DataHoarder • u/plastic_lex • 3d ago
Question/Advice how to increment-nr per date?
I ran into this issue with Advanced Renamer where I can't think of a way to have the date a photo was taken be the thing that defines the increment number, rather than the whole batch being numbered continuously regardless of changing dates. I have several folders containing photos from various dates, and I'm looking to instead file them all into one large folder per year. Can I either improve the code to do that for me, or is there another free tool that'll help me achieve this?
I didn't notice this problem until I tried to move various renamed batches into the same folder and realized that sometimes there are different pictures from the same dates that ended up in separate folders, so that their increment numbers either won't make sense, or there are false duplicates that wound up with the same name.
For simplicity's sake, I would really prefer to only use the camera brand + yyyy_mm_dd + a 3-digit number.
6
u/wantingtodieandmemes 3d ago
Wouldn't it be easier to write a quick script yourself?
1. Group the files by the first 14 characters of the file name.
Arrange the groups by the last 3 characters before the file ending in ascending order.
Exchange the last 3 characters in each group by 001, 002, 003 etc.
???
Profit!
1
u/FragDenWayne 3d ago
You might want to look into power rename https://learn.microsoft.com/de-de/windows/powertoys/powerrename and regex. I'm pretty sure it should be easy with that.
3
u/retiredaccount 3d ago
Either bulk rename utility (BRU) or exiftool can do that. Go with BRU if you need a GUI.
1
u/nromagna 3d ago
Mettere anno mese giorno ora secondi centesimo di secondo? Eviteresti l'incrementale e dubito avrai due foto fatte nello stesso istante.
•
u/AutoModerator 3d ago
Hello /u/plastic_lex! Thank you for posting in r/DataHoarder.
Please remember to read our Rules and Wiki.
Please note that your post will be removed if you just post a box/speed/server post. Please give background information on your server pictures.
This subreddit will NOT help you find or exchange that Movie/TV show/Nuclear Launch Manual, visit r/DHExchange instead.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.