Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- HOST="myhost.com"
- USER="user"
- PASS="xxxxxx"
- lftp -c "set ftp:list-options -a;
- set cmd:fail-exit yes;
- open ftp://$USER:$PASS@$HOST;
- lcd /home/user/websites/A;
- cd /;
- mirror --reverse
- --delete
- --verbose;"
Add Comment
Please, Sign In to add comment