osx - linux move files inside sub folder to current directory -
hi need command linux , mac os move files subfolders current one.
i have main folder (04) containing other folders ex. 01145032 contains jpgs , other files. have move files in 04 folder thanks
you can use find
command:
cd 04 find . -type f -mindepth 2 -exec mv '{}' . \;
-mindepth 2
make sure files sub directories found.
Comments
Post a Comment