This tool is built to work like "wget --mirror". It is tested on ubuntu 16.04, but should work on any *nix based system.
Will only work with a basic webserver file index. Compatible tested webserver indexes are:
- Apache
- Caddy
- Nginx
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To run this, you will need rclone, GNU parallel and axel.
brew install rclone
sudo apt-get install parallel
or
brew install parallel
brew install axel
chmod +x OD-dl.sh
./OD-dl.sh url project_folder
What to do:
./OD-dl.sh https://the-eye.eu/public/ripreddit ripreddit
What not to do:
./OD-dl.sh https://the-eye.eu/public/ripreddit/ ripreddit
- the url cannot have a trailing slash. The script will not work.
Files will be downloaded 4x at a time with axel to the local folder you chose.
output would look like
$HOME/files/ripreddit/
- folder/
- file
- file
- folder2
- file
- file
This project is licensed under the MIT License - see the LICENSE.md file for details