linux 卸载 rsycn,linux – Rsync不删除

我已经设置了rsync来镜像从源服务器(a)到镜像(b)的目录.我已经得到它来发送源上的新文件但是当我从源中删除文件时它不会最终删除它.

以下是我用来调用rsync的内容:

rsync -vhzrplt --stats --delete --rsh='/usr/bin/ssh -q' --exclude="core/" --exclude="cache/" /home/(a)/public_html (b):/home/(b)/public_html/

当我运行rsync时,我得到以下输出:

stdin: is not a tty

sending incremental file list

public_html/

deleting public_html/test.html

Number of files: 389

Number of files transferred: 0

Total file size: 3.16M bytes

Total transferred file size: 0 bytes

Literal data: 0 bytes

Matched data: 0 bytes

File list size: 9.25K

File list generation time: 0.001 seconds

File list transfer time: 0.000 seconds

Total bytes sent: 9.33K

Total bytes received: 47

sent 9.33K bytes received 47 bytes 1.25K bytes/sec

total size is 3.16M speedup is 336.81

正如您所看到的那样,它表明它正在删除test.html,但它永远不会结束.任何帮助表示赞赏.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值