jackblk / config

my config
0 stars 0 forks source link

wget download all files recursively #31

Open jackblk opened 1 year ago

jackblk commented 1 year ago
wget -rcv -np -nv -e robots=off --reject-regex=thumb https://example.com/wp-content/uploads/photo-gallery/...

another script:

#!/bin/bash
echo "Enter URL: "
read url
echo " "
echo "Enter file type: "
read type
wget -r -A.$type $url
mkdir -p recovered.files
cp -v -r \find . -name "*.$type" ./recovered.files
exit