![]() I'm guessing it will be something like after gathering all the folders, assign 'Project Photos' path as variable 1, assign parent folder path as variable 2 (with a step I don't know to harvest the parent folder path), move variable 1 folder contents to variable 2 folder, delete variable 1 folder, repeat until no more 'Project Photos' folders left. How would I best move all files within each individual folder up one structure level and then delete the redundant 'Project Photos' folder? Maybe move the files up and then delete the 'Project Photos' folders at the end? That seems to work, but now I'm a bit stuck. "Filter Finder items - Name - is - 'Project Photos'" (to filter just those folders named 'Project Photos' "Get Folder contents - Repeat for each subfolder found" (to find all files and folders within the folder) ![]() "Get specified Finder Items" (to simulate dropping a folder on the app) I got this far but think I'm struggling to get any further: I'm trying to fix a problem that occurred within a very large photo library (300k+) where projects had an unnecessary 'Project Photos' folder adding under the location names, which is affecting the ability to search within the library as every location is now called 'Project Photos'. What I hope to achieve is an application where I can drag a folder in, and it will recognise any sub-folders within that folder with the title 'Project Photos', move all of the files in that folder up into its parent folder, and then remove the 'Project Photos' folder. I have been very pleased in the past to achieve basic renaming and moving tasks with automator so I'm sure this can be done, but it's just beyond my capabilities, so I would be very grateful of any help with what I realise is probably quite a simple operation. Hi there, I'm a complete novice with Automator and coding generally so please be gentle.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |