Date from file & move to folder with name part matching

Get help. Get answers. Let others lend you a hand.

Moderator: Mr_Noodle

Within folder "Photos", I have multiple pictures with different created dates. Let's assume that the date format is "2019-05-15" and file name is "IMG01.jpg" for example.

I have existing subfolders named with this format "2019-05-15_European_Vacation".

How would I go about moving each photo according to their created date, to the corresponding subfolders?
ogmios
 
Posts: 3
Joined: Wed May 15, 2019 5:57 pm

You can use Sort into subfolder and use the date attribute in the pattern. I'm not sure where the "European Vacation" part comes from but you can use the "..." (anything) token after the date to match the first folder it finds that matches the date and has arbitrary text after it.
Mr_Noodle
Site Admin
 
Posts: 7814
Joined: Sun Sep 03, 2006 1:30 am
Location: New York City

Thank you! I tried that and it seems to work as expected!
ogmios
 
Posts: 3
Joined: Wed May 15, 2019 5:57 pm


Return to Support

cron