timmy / 快速移動檔案到資料夾

Last active 1 week ago

Like 0

一行指令搞定:把當前目錄的檔案移動到 archive 文件夾。

move_files_to_archive.sh Raw
1mkdir archive
2
3find . -maxdepth 1 -type f -exec mv {} archive/ \;
4

Comments 0

Log in to leave a comment