daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest May 26th, 2018 112 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top