Guest User

Untitled

a guest
Mar 22nd, 2018
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. echo "This script will sync from my Macbook Dropbox/scripts/ folder to ruth@10.0.0.9 @ Norms house"
  4.  
  5. OPTIONS="--recursive --ignore-existing --progress"
  6. SRC_DIR="~/Dropbox/scripts/"
  7. DST_DIR="ruth@10.0.0.9:~/scripts/"
  8. rsync "$OPTIONS" "$SRC_DIR" "$DST_DIR"
  9.  
  10. chmod +x nameofscript.sh
  11.  
  12. rsync: --recursive --ignore-existing --progress: unknown option
Add Comment
Please, Sign In to add comment