Giter Club home page Giter Club logo

bash_wget_downloader's Introduction

📥 Bash Wget Downloader

Simple Bash Wget Downloader (BWD)

🛠️Usage

Usage of the Bash Wget Downloader :

./download.sh -d "dir destination" \
              [-f "mylinks.txt" [links file name with path if necessary]] \ 
              [-a (ask for confirmation before download, by default : no ask)] \ 
              [-k (keep list, by default : the list will be delete)] \ 
              [-l (limit speed to 15MB/s, by default : unlimited)]

✏️Exemples

1 / ❗Without a list file

Suppose I have links to MP4 files I want to download in my clipboard :

https://_URL_/video1.mp4
https://_URL_/video2.mp4
https://_URL_/video3.mp4
https://_URL_/video4.mp4

Simply run the script with minimal arguments:

./download.sh -d /data/download/
  • 1 / Here my destination is /data/download
  • 2 / The script will create a temporary file for the list, using /tmp/$RANDOM
  • 3 / Insert your links in the Vim editor
  • 4 / The script will retrieve the links and delete the temporary file list
  • 5 / Downloads will commence sequentially with a 2-second interval between each download.

2 / 📝With a list file

Suppose I have a list named mylinks.txt:

https://_URL_/video1.mp4
https://_URL_/video2.mp4
https://_URL_/video3.mp4
https://_URL_/video4.mp4

Launch the script with the list file as an argument:

# I want to keep 'mylinks.txt' : 
./download.sh -d /data/download/ -f mylinks.txt -k

# else, simply :
./download.sh -d /data/download/ -f mylinks.txt
  • 1 / Here my destination is /data/download
  • 2 / The script will use mylinks.txt to retrieve links; change the path if necessary, here the file is in the current path
  • 3 / Downloads will commence sequentially with a 2-second interval between each download.

N.B: Links and the number of links will be displayed before downloading to avoid losing links ;)

bash_wget_downloader's People

Watchers

EchoRider999 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.