Bash: Move Sub Files to Current Directory
Bash/Shell one-liner to move all files from sub-directories to current directory.
find . -mindepth 2 -type f -print -exec mv {} . ;
a place to share
Bash/Shell one-liner to move all files from sub-directories to current directory.
find . -mindepth 2 -type f -print -exec mv {} . ;