Difference between revisions of "Rsync"
From Wasya Wiki
(Created page with " From: https://superuser.com/questions/307541/copy-entire-file-system-hierarchy-from-one-drive-to-another rsync -avxHAWX --numeric-ids --progress / mnt/ > ~/rsync.out The...") |
|||
Line 3: | Line 3: | ||
rsync -avxHAWX --numeric-ids --progress / mnt/ > ~/rsync.out | rsync -avxHAWX --numeric-ids --progress / mnt/ > ~/rsync.out | ||
+ | |||
+ | rsync -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress /root/bigfile.txt 198.211.117.129:/root/ | ||
The options are: | The options are: |
Revision as of 13:28, 17 May 2023
From: https://superuser.com/questions/307541/copy-entire-file-system-hierarchy-from-one-drive-to-another
rsync -avxHAWX --numeric-ids --progress / mnt/ > ~/rsync.out
rsync -avz -e "ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null" --progress /root/bigfile.txt 198.211.117.129:/root/
The options are:
-a : all files, with permissions, etc.. -v : verbose, mention files -x : stay on one file system -H : preserve hard links (not included with -a) -A : preserve ACLs/permissions (not included with -a) -X : preserve extended attributes (not included with -a) -W : whole files