How to create year folder from file name and move all folder
Posted: Fri Apr 26, 2024 4:31 pm
Hi,
I have photos organized in this fashion:
- Month folder like this - 04-APR-2024, 04-MAY-2024, etc
- each month folder has pictures inside with names like - 24-04-2024-15-09-04-001.jpg, 24-04-2024-15-09-22-002.jpg, etc
04-APR-2024
24-04-2024-15-09-04-001.jpg
24-04-2024-15-09-22-002.jpg
etc
I will like to create a top folder based on the folder name (04-APR-2024) with the year and then move all folders (and the pictures in each folder in it). So the new structure will look like:
2024
04-APR-2024
24-04-2024-15-09-04-001.jpg
24-04-2024-15-09-22-002.jpg
etc
05-MAY-2024
24-05-2024-15-09-04-001.jpg
24-05-2024-15-09-22-002.jpg
etc
If someone can help with the above I will appreciate it.
I have photos organized in this fashion:
- Month folder like this - 04-APR-2024, 04-MAY-2024, etc
- each month folder has pictures inside with names like - 24-04-2024-15-09-04-001.jpg, 24-04-2024-15-09-22-002.jpg, etc
04-APR-2024
24-04-2024-15-09-04-001.jpg
24-04-2024-15-09-22-002.jpg
etc
I will like to create a top folder based on the folder name (04-APR-2024) with the year and then move all folders (and the pictures in each folder in it). So the new structure will look like:
2024
04-APR-2024
24-04-2024-15-09-04-001.jpg
24-04-2024-15-09-22-002.jpg
etc
05-MAY-2024
24-05-2024-15-09-04-001.jpg
24-05-2024-15-09-22-002.jpg
etc
If someone can help with the above I will appreciate it.