Bash: Move an Entire Directory of Files
I recently wanted to nest all the files in a folder one level deeper. Which meant I needed to move all the files except for the nested folder I created. This will move all files, excluding the directory new-folder: ls|grep -v new-folder|xargs -I % mv »