move subfolder to parent linux code example
Example 1: linux move folder and subfolders to parent
cd to/the/dir
mv * ../
Example 2: move all subfolders to parent folder linux
find . -maxdepth 1 -exec mv {} .. \;
cd to/the/dir
mv * ../
find . -maxdepth 1 -exec mv {} .. \;