Skip to content

Instantly share code, notes, and snippets.

@pfeiferbit
Created October 8, 2014 15:11
Show Gist options
  • Save pfeiferbit/b2a62e5b037ed3aad6da to your computer and use it in GitHub Desktop.
Save pfeiferbit/b2a62e5b037ed3aad6da to your computer and use it in GitHub Desktop.
Klonen eines offenen HTTP-Verzeichnisses mit wget
#!/bin/bash
if [[ $# -ne 1 ]]; then
echo "USAGE: htclone URL"
exit 1
else
wget --no-verbose \
--recursive --no-parent \
--reject "index.htm*" --ignore-case \
"$1"
fi
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment