Skip to content

The-OMG/OD-dl_tools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OD-dl_tools

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

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

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

Installing

Download the script.

Make it executable

chmod +x OD-dl.sh

Usage

./OD-dl.sh url project_folder

Example

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.

Output

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

License

This project is licensed under the MIT License - see the LICENSE.md file for details

About

Download all the open directories!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages