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

EGS1550

macrumors newbie
Original poster
Jul 13, 2012
23
0
Hello. I have a single folder that contains about 600 folders inside it. Inside each folder is 1 or more files. I want to move or copy every one of those files into 1 single folder. Right now the manual way is to open the folders one by one and drag them over to the new folder. This will be very tedious. So in the end instead of having 600 folders with 1 file per folder I want to move all 600+ files into a single folder. Make sense?

Is there a script or automator function to do this
 
Try in the terminal something like

find your-source-folder-containing-subfolders/ -type f -exec mv {} your-destination-folder/ \;

This will find all files in the current folder and its subfolders and move (!!!) them to the new destination. Of course files with the same filename will be overwritten when they already exist at the new destination.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.