Guest User

Untitled

a guest
Jun 25th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #!/bin/bash
  2. HOST="myhost.com"
  3. USER="user"
  4. PASS="xxxxxx"
  5. lftp -c "set ftp:list-options -a;
  6. set cmd:fail-exit yes;
  7. open ftp://$USER:$PASS@$HOST;
  8. lcd /home/user/websites/A;
  9. cd /;
  10. mirror --reverse
  11. --delete
  12. --verbose;"
Add Comment
Please, Sign In to add comment