16 lines
221 B
Plaintext
16 lines
221 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
if [ "$#" -ne 2 ]; then
|
||
|
echo "Usage: $0 DOMAIN SITE"
|
||
|
exit 1
|
||
|
fi
|
||
|
|
||
|
wget \
|
||
|
--recursive \
|
||
|
--level 0 \
|
||
|
--page-requisites \
|
||
|
--convert-links \
|
||
|
--domains "$1" \
|
||
|
--no-parent \
|
||
|
"$2"
|