Can anyone help me out with this situation
I need a script or help writing one that does the following
It needs to rename any file in a directory of folders with all the names of folder subsequent to it… for example
Folder A>Folder b>file.jpg needs to be renamed …foldera_folderb0001.jpg
now there would be thousands of files in different folders, so it needs to batch rename everything automatically… any ideas
it would need to have an underscore to diffirentiate the folders as it renames the file as well
folderA_folderB_FolderC001.jpg would be awesome…
Thanx for any help in advance.
Name those Files! doesn’t do exactly what you want to do in one step. It does, however, allow you to insert the parent folder name into the name of the child files (see the documentation for more information). So, you’d have to run your files through NtF! twice: first where they currently reside, then moving them up a level in the Finder and running them through NtF! a second time. If you are interested in a standalone script to do exactly what you want without moving files or using NtF!, I have one and you can PM me for more details.