我正在使用rsync -rlptD从另一个用户复制目录。有一些文件(我无法提前知道)我无权复制。有没有办法让 rsync 忽略这些。问题是,如果 rsync 返回非零值,我的 bash -x 脚本将退出。
rsync -rlptD
permissions rsync error-handling
error-handling ×1
permissions ×1
rsync ×1