Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mrgreeneyes

macrumors 6502a
Original poster
Oct 7, 2007
851
57
Gatineau,Canada
Hello,

I have on an external drive a bunch of folders, and in folder contains a movie and .nfo

I'm trying to create an Automator workflow to automatically remove all the files from each folder and place them in the main folder.
But I can't seem to get Automator to see what folder I want cleaned up.

Any ideas?

Please and thanks
 
Are you handy with terminal? Because this website has a one line command that should work (tested it on a sample bunch of folders): https://www.mjdtech.net/copy-files-from-multiple-directories-easily-os-x-unix-terminal/

Essentially:
Code:
find [path to directory containing files you want to copy] -iname "[types of files you want to move]" -exec cp {} [path to directory you are copying files to] \;

You have to supply the exact path for the source and destination and you have to use the correct \ character.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.