Created
June 13, 2016 07:28
-
-
Save nickabal/56adc8390d11892e3c9729513ff7493e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync single directory across two disks. rsync stops when first disk is full, then run rsync -n to see whats remaining, pipe to rsync again to finish on another disk | |
rsync -av /storage/ /mnt/disk1/ | |
... of of space ... | |
rsync -av -n /storage/ /mnt/disk1/ | while read LINE; do rsync -av --progress "$LINE" "/mnt/disk2/$LINE"; done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment