copy all files from a parent folder to a subdirectory 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 {} .. \;