最終更新 7 months ago

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

timmy revised this gist 7 months ago. Go to revision

No changes

timmy revised this gist 7 months ago. Go to revision

1 file changed, 3 insertions

move_files_to_archive.sh(file created)

@@ -0,0 +1,3 @@
1 + mkdir archive
2 +
3 + find . -maxdepth 1 -type f -exec mv {} archive/ \;
Newer Older