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