Hi I have 70 folders as an output form some software they are called folder1, folder2 ...folder70.
I want to find a way to automatically copy the contents from each folder to one big folder? So all the files are in one folder without the directories?
I was thinking of something using the mv
command but I'm not sure how to do this..
---------- Post added at 02:18 AM GMT ---------- Previous post was at 01:45 AM GMT ----------
Ok I think I have answered my own question. I did this:
# cp folder*/* bigfolder
I used cp in case it went wrong, it worked so I deleted the previous dir's.