I often need to rename files according to the title of the folder they're in and then put them in a new spot or the parent directory.
That is, from:
/Users/Willis/Photos/Artifacts2008/file1.jpg
to
/Users/Willis/Photos/Artifacts2008-file1.jpg
I can do this with Automator folder by folder. But just wondering if there was any way to program Automator, create a workflow or something similar, to do this automatically (and apply to many folders at once) ? Its as if the folder name needs to be stored as a variable and added to the filename perhaps? I can't figure it out.
Cheers
That is, from:
/Users/Willis/Photos/Artifacts2008/file1.jpg
to
/Users/Willis/Photos/Artifacts2008-file1.jpg
I can do this with Automator folder by folder. But just wondering if there was any way to program Automator, create a workflow or something similar, to do this automatically (and apply to many folders at once) ? Its as if the folder name needs to be stored as a variable and added to the filename perhaps? I can't figure it out.
Cheers