Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- USER=myUser
- export RSYNC_PASSWORD=myPassword
- DEST="10.10.10.225::myFolder"
- /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