Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- echo "USER: "
- read USER
- echo "PASS: "
- read PASS
- echo "EXCLUDE: "
- read EXCLUDE
- echo "PATH: "
- read PATH
- /usr/bin/wget \
- --mirror \
- --recursive \
- --continue \
- --progress=dot:mega \
- --no-parent \
- --no-host-directories \
- --cut-dirs=1 \
- --ftp-user $USER --ftp-password $PASS \
- --exclude-directories=$EXCLUDE \
- --directory-prefix=$PATH \
- $1
Add Comment
Please, Sign In to add comment