IndexOf Downloader is a Bash utility that scans a public /index-style directory webpage, extracts direct download links, and downloads all available files automatically.
It supports a wide variety of file types including documents, archives, executables, media files, and disk images.
This tool is designed for convenience, automation, and efficiency when downloading files from directory listings commonly found on servers, mirrors, and open file repositories.
- β Automatic link extraction from
/indexpages - β Supports dozens of file extensions (documents, media, archives, ISOs, installers, etc.)
- β Automatic retry logic for unstable connections
- β Proxy detection (uses system
$http_proxy) - β Auto-generated download directory if none is specified
- β Clean built-in help menu
pdf, epub, djvu, doc, docx, txt, rtf, odt, odp, ods, ppt, pptx, xls, xlsx, csv, md
asm, s, c, h, cpp, cc, hh, hpp, ps1, vb, bat, whl
gz, rar, zip, 7z, z, bz2, xz, lzh, tar, zipx, 7a
vhd, vmdk, img, deb, rpm, jar, apk, ios
mp4, flv, mov, wmv, avi, mkv, m4a, mp3
jpg, png, webp, bmp, svg
./indexof_downloader.sh <URL>Downloads all detected files into a randomly generated directory.
./indexof_downloader.sh <URL> <TARGET_DIRECTORY>Example:
./indexof_downloader.sh "https://example.com/files/" my_downloadsShow help automatically when no arguments are provided:
./indexof_downloader.sh- Detects proxy settings
- Extracts file extensions using
grep+ regex - Saves links into
<Target>.txt - Downloads each file using
wget - Logs failures to
logs/ - Displays progress + final status
- Bash (v4 or higher recommended)
- curl
- wget
- grep with extended regex support
This script is intended for legal use only. Always ensure you have permission to download files from the target server.