–dry-run:顯示那些檔案將被傳輸,並不會實際傳輸 –bwlimit:限制傳輸頻寬 -W:拷貝檔案,不進行增量檢測 使用案例 本地同步某個檔案 [root@iZ7eetumtw8c9jZ jenkins]# rsync -zvrh remoting.jar /root/work/sending incrementalfilelist created directory /root/work remoting.jar sent 796.37K bytes received 68 ...
rsync 远程同步 rsync(remote sync) 备份 完全备份 增量备份(差异备份) rsync 优点: 支持增量备...
51CTO博客已为您找到关于rsync -av --dry-run的相关内容,包含IT学习相关文档代码介绍、相关教程视频课程,以及rsync -av --dry-run问答内容。更多rsync -av --dry-run相关解答可以来51CTO博客参与分享和学习,帮助广大IT技术人实现成长和进步。
rsync(1)--dry-run--remove-source-files-avzPh a fast, versatile, remote (and local) file-copying tool -n,--dry-runThis makes rsync perform a trial run that doesn’t make any changes (and produces mostly the same output as a real run). It is most commonly used in combination with ...
Using rsync –dry-run: rsync –dry-run with “–delete” option: Utilize thersync –dry-runto delete files while running the trial. Here is the syntax of this form of rsync command: $rsync-av--dry-run--deleteSource remote_host:Destination. ...
-n(--dry-run)オプションは実際に処理を行わず、テスト結果だけを出力するオプションです。 -v(--verbose)オプションは処理中のログをターミナルに表示するオプションです。 -オプションは繋げて記述できるので、この2つを合わせて-nvとしています。