更多文章
--bwlimit=30000
30000 = 30000 KB/ps = 30 MB/ps
rsync -av --exclude='path1/to/exclude' --exclude='path2/to/exclude' source destination
source/ 來源目錄+斜線 會複製目錄內的內容
source 來源目錄不加斜線 會複製整個目錄
rsync --partial --progress --rsh=ssh <local_file> user@host:<remote_file>
mount /dev/sdb1 /mnt rsync -aAXv / --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /mnt
Images 0 | ||
---|---|---|
No images to display in the gallery. |