I have a main folder with about 80 folders in, each with about 10 items in. I want to be able to use a Terminal command or something to just move every item from each sub-folder into a new one (i.e the newly created folder would have around 800 items in, not separated by individual folders). Doing this by hand would be very tedious. Is there a way to do it easily and quickly? I have looked at ditto
, but couldn't figure out how to use it for my use case. Any help would be much appreciated, thank you!
MacOS – Bulk merge items sub-folders into new folder
findermacosmergeterminal
Related Question
- MacOS – OSX: How to compare and merge two folders and their subfolders and differing files of the same origin
- Can ffmpeg merge multiple m4a files into one ~chapterized~ file
- MacOS – Batch compress multiple folders into individual zip files
- Create new folder for each file
- File explorer/Finder like tool for mac os, which can sort folders by name
- Numbers: Possible to transpose Rows and Columns during Import of txt file
Best Answer
Assuming the structure is like
and all the items are uniquely named, you can use
to move everything into a target folder on the same directory level as the main folder. If you just want to move everything into the main folder, just use