Skip to content

Latest commit

 

History

History
116 lines (101 loc) · 4.9 KB

README.md

File metadata and controls

116 lines (101 loc) · 4.9 KB

♣️ Wget Parameters ♣️

It is a program coded with Zenity and bash script, where you can do some wget commands.

Sum

  • If you click on the title, you can access the feature you want to learn.
  1. -i Parameter
  2. -limit-rate Parameter
  3. -c Parameter
  4. -b Parameter
  5. -m Parameter

Installation and Run

  • Firstly, you need linux system.
  • Follow the steps below to install zenity inside your Linux machine.
Steps Commands
Step 1 sudo apt-get update -y
Step 2 sudo apt-get install -y zenity
  • git clone https://github.com/sefaenesergin/shell-zenity-wgetApp-.git
    clone to locale with this code
  • cd shell-zenity-wgetApp-
  • bash shell-zenity-wgetApp-.sh
    • we run our project. keep to read

Steps of Application

Start Page:
Step 2:
Step 3:
Step 4:
Step 5:
Step 6:
Step 7:
Step 8:
Final Page:

-i parameter

Read URLs from a local or external file. If "-" is specified as file, URLs are read from the standard input. (Use "./-" to read from a file literally named "-".)

If this function is used, no URLs need be present on the command line. If there are URLs both on the command line and input file, those on the command lines are the first ones to be retrieved. If --force-html is not specified, then file should consist of a series of URLs, one per line.However, if you specify --force-html, the document is regarded as HTML. In that case you may have problems with relative links, which you can solve either by adding to the documents or by specifying --base=url on the command line.

-limitrate parameter

Limit the download speed to amount bytes per second. The amount may be expressed in bytes, kilobytes (with the k suffix), or megabytes (with the m suffix). For example, --limit-rate=20k limits the retrieval rate to 20 KB/s. This option is useful when, for whatever reason, you don't want wget to consume the entire available bandwidth.

-c parameter

Continue getting a partially-downloaded file. This option is useful when you want to finish up a download started by a previous instance of wget, or by another program.Note that -c only works with FTP servers and with HTTP servers that support the "Range" header.

-b parameter

Go to background immediately after startup. If no output file is specified via the -o, output is redirected to wget-log.

-m parameter

Turn on options suitable for mirroring. This option turns on recursion and time-stamping, sets infinite recursion depth and keeps FTP directory listings. It is currently equivalent to -r -N -l inf -nr.

YouTube URL for how to use this program

Click that link.

Development and Tools Used

  • Developed on Ubuntu Linux with gnome terminal.
  • I used often nano editor.
  • Coded with Zenity and bash script.
  • Check my LinkedIn.
  • Contact me! [email protected]