Merging multiple folders
cd containing_folder
mv */* .
or, if you want to get rid of the empty folders afterwards
cd containing_folder
mkdir ../foo
mv */* ../foo/
rmdir *
mv ../foo/* .
rmdir ../foo
cd containing_folder
mv */* .
or, if you want to get rid of the empty folders afterwards
cd containing_folder
mkdir ../foo
mv */* ../foo/
rmdir *
mv ../foo/* .
rmdir ../foo