相关疑难解决方法(0)

rsync 和 --remove-source-files

我使用 rsync v.3.0.4,当我需要移动某些内容时,我将其与 --remove-source-files 一起使用。与 mv 相比,我更喜欢 rsync。

不幸的是,当我使用 --remove-source-files 时,目录保留在源端(如 man 中所述)。一旦移动了所有文件,有没有办法也删除目录?

rsync

4
推荐指数
1
解决办法
3546
查看次数

标签 统计

rsync ×1