설정
move files and directories to the parent folder in Linux
한만큼
2019. 7. 31. 13:22
find . -maxdepth 1 -exec mv {} .. \;
this will move hidden files as well.
You will get the message:
mv: cannot move `.' to `../.': Device or resource busy
when it tries to move . (current directory) but that won't cause any harm.