最后活跃于 7 months ago

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

timmy 修订了这个 Gist 7 months ago. 转到此修订

没有任何变更

timmy 修订了这个 Gist 7 months ago. 转到此修订

1 file changed, 3 insertions

move_files_to_archive.sh(文件已创建)

@@ -0,0 +1,3 @@
1 + mkdir archive
2 +
3 + find . -maxdepth 1 -type f -exec mv {} archive/ \;
上一页 下一页