Bash Jak pobrać pliki chronione hasłem
# Basic syntax:
# Download a single password protected file:
wget http://url/file --user=username --password=password --directory-prefix=/path/to/output/directory
# Recursively download a directory of password protected files:
wget -r --no-parent http://url/directory/ --user=username --password=password --directory-prefix=/path/to/output/directory
# Where:
# - -r means recursively
# - --no-parent tells wget to avoid getting files from any
# parent directories of directory
# Note, for directories, it's important to add the trailing / to the url
Charles-Alexandre Roy