Name a file from the folder name
-
- Posts: 1
- Joined: 26 Dec 2023, 15:38
Name a file from the folder name
I have photos organized in folders with names like MM-DD-YYYY (Event). For Example 12-25-2023 (Christmas Day). How would you make that format the beginning of the file's name. Then I would like to generate an order based on image time. The end result would be something like = 12-25-2023 (Christmas Day) 01.jpg.
Re: Name a file from the folder name
So you just want to add a number to the end of the current file name? Batch Rename any type of file › Rename photos will get you sorted.
e.g.
You will probably want to add the number at the beginning though so that files sort nicely by default:
e.g.
Format: Select all
{ fn } { i.pad(2) }
You will probably want to add the number at the beginning though so that files sort nicely by default:
Format: Select all
{ i.pad(2) } { fn }
Please read the FAQ and How to Request Help.