how to move all files in subfolders to parent folder code example Example: move all subfolders to parent folder linux find . -maxdepth 1 -exec mv {} .. \;