linux:rsync

This is an old revision of the document!


RSYNC

Сделать копию

#RSYNC
 
# Reception PUB
rsync -rlptgoPv --exclude '!trash' --exclude 'frontend_test' /mnt/frontend/ root@10.59.0.80:/mnt/frontend/
# Reception Store
rsync -rlptgoPv /mnt/backend/www/pdn_store/  root@10.59.0.81:/mnt/backend/www/pdn_store/

Проверить каталоги на предмет изменение содержания

rsync -a --itemize-changes --dry-run /var/www/dokuwiki/data/pages/ /opt/docker-dokuwiki/www/data/pages/
-- https://unix.stackexchange.com/questions/3575/display-transfer-speed-when-performing-cp-from-the-command-line
rsync --progress source destination
pv -p file1 > file2

  • linux/rsync.1659683004.txt.gz
  • Last modified: 2022/08/05 07:03
  • by admin