Guest User

Untitled

a guest
May 26th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. #!/bin/bash
  2. echo "USER: "
  3. read USER
  4. echo "PASS: "
  5. read PASS
  6. echo "EXCLUDE: "
  7. read EXCLUDE
  8. echo "PATH: "
  9. read PATH
  10.  
  11.  
  12. /usr/bin/wget \
  13. --mirror \
  14. --recursive \
  15. --continue \
  16. --progress=dot:mega \
  17. --no-parent \
  18. --no-host-directories \
  19. --cut-dirs=1 \
  20. --ftp-user $USER --ftp-password $PASS \
  21. --exclude-directories=$EXCLUDE \
  22. --directory-prefix=$PATH \
  23. $1
Add Comment
Please, Sign In to add comment