User Tools

Site Tools


wget:download_single_file_with_wget

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wget:download_single_file_with_wget [2016/07/09 22:57] – created peterwget:download_single_file_with_wget [2019/12/04 22:38] (current) – removed peter
Line 1: Line 1:
-====== wget - Download Single File with wget ====== 
- 
-The following example downloads a single file from internet and stores in the current directory. 
- 
-<code bash> 
-wget http://www.openss7.org/repos/tarballs/strx25-0.9.2.1.tar.bz2 
-</code> 
- 
-While downloading it will show a progress bar with the following information: 
- 
- 
-  * %age of download completion (for e.g. 31% as shown below) 
-  * Total amount of bytes downloaded so far (for e.g. 1,213,592 bytes as shown below) 
-  * Current download speed (for e.g. 68.2K/s as shown below) 
-  * Remaining time to download (for e.g. eta 34 seconds as shown below) 
- 
-  
-===== Download in progress ===== 
- 
-<code bash> 
-wget http://www.openss7.org/repos/tarballs/strx25-0.9.2.1.tar.bz2 
-</code> 
- 
-Displays: 
- 
-<code> 
-Saving to: `strx25-0.9.2.1.tar.bz2.1' 
- 
-31% [=================> 1,213,592   68.2K/ eta 34s 
-</code> 
- 
- 
-===== Download completed ===== 
- 
-<code bash> 
-wget http://www.openss7.org/repos/tarballs/strx25-0.9.2.1.tar.bz2 
-</code> 
- 
-Displays: 
- 
-<code> 
-Saving to: `strx25-0.9.2.1.tar.bz2' 
- 
-100%[======================>] 3,852,374   76.8K/  in 55s     
- 
-2009-09-25 11:15:30 (68.7 KB/s) - `strx25-0.9.2.1.tar.bz2' saved [3852374/3852374] 
-</code> 
  
wget/download_single_file_with_wget.1468105022.txt.gz · Last modified: 2020/07/15 09:30 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki