|
1234567891011121314 |
- #!/usr/bin/env bash
-
- wget-dlaccept () {
- moduleName="Wget-DL Accept File Type"
- moduleVersion="0.1.0"
- moduleToolUsed="Wget"
-
- echo "Please provide the filetypes you would like to filter seaperated with a ','. (mkv,mp4,jpg,etc)"
- read fileTypes
- echo "Please provide the path to the file or directory you would like to download"
- read directory
- wget -e robots=off -r -nc -np --accept $downDir $directory
- echo "Directory Download Complete!"
- }
|