#1 : 21/06-24 02:25 ConnieR
Posts: 8
|
I have a TON of folders from Freepik, where the files inside don't match the folder names. (they are mockups, and come with a jpg and psd file in each folder, each with a different number string.) I would like to change the inside file names to the name of the folder they are in. I found this: https://superuser.com/questions/516082/add-folde r-name-to-beginning-of-filename But I really don't want to download another program, and anyway if possible I would like to change the whole filename, not just add the folder name to the start.
For example, I have a folder: Living-Room-Mockup, and inside are 1234567.jpg, and 5483760.psd. so ideally, I'd like to change them both to Living-Room-Mockup.jpg and Living-Room-Mockup.psd. If that isn't possible, I could live with just appending the folder name to the start of the files inside. It'll make things a little more awkward, though, when I combine all the files into one big folder, removing all the little folders. The PSD's might not always match up with the jpeg preview files. |
#2 : 21/06-24 10:20 Miguel
Posts: 147
|
Hi Connie.
You can use the NewName method with <DirName> attribute. NEW NAME: <DirName> Miguel EDIT: You can also use <FolderName:1> |
#3 : 29/06-24 21:18 ConnieR
Posts: 8
|
Reply to #2:
Thank you very much! NEW NAME: <DirName> works perfectly! |