Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # These commands are to be run in different tmux panes to quickly copy the
- # contents of one hard drive to another. `rsync` is used for it's robustness,
- # interruptibility, and efficiency in incremental updates.
- #
- # After the initial clone, the same `rsync` command can be run to copy just the
- # new/changed files from source to target.
- # tmux pane 1
- rsync --partial -a /Volumes/ushuaia/ /Volumes/amsterdam/
- # tmux pane 2
- # use `watch` to record how much space is taken (via `df`)
- watch -n 60 "bash monitor.sh | tee -a transfer-times.txt"
- # tmux pane 3
- # live view of most recent log entries
- watch -n 60 "tail transfer-times.txt"
Add Comment
Please, Sign In to add comment