Advertisement
Guest User

Untitled

a guest
Jul 19th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #!/bin/bash
  2. USER=myUser
  3. export RSYNC_PASSWORD=myPassword
  4. DEST="10.10.10.225::myFolder"
  5.  
  6. /usr/bin/rsync --update -ra -e "ssh -p 22 -i /root/.ssh/id_rsa" --progress --ignore-errors --exclude '*.recycle*' --exclude '*.trash*' --exclude '*.tmp*' --exclude "*Thumbs*" /var/flexshare/shares/ . $DEST
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement