Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "This script will sync from my Macbook Dropbox/scripts/ folder to ruth@10.0.0.9 @ Norms house"
- OPTIONS="--recursive --ignore-existing --progress"
- SRC_DIR="~/Dropbox/scripts/"
- DST_DIR="ruth@10.0.0.9:~/scripts/"
- rsync "$OPTIONS" "$SRC_DIR" "$DST_DIR"
- chmod +x nameofscript.sh
- rsync: --recursive --ignore-existing --progress: unknown option
Add Comment
Please, Sign In to add comment