Home » 2014 » February » 23 » lwp-download: A command in linux to downlaod large files from internet

0:43 AM
lwp-download: A command in linux to downlaod large files from internet

Share on Google+

lwp-download command is used to fetch large files from the web

Format:
       lwp-download [-a] <url> [<local path>]


DESCRIPTION
       The lwp-download program will save the file at url to a local file.If local path is not specified, then the current directory is assumed.
       If local path is a directory, then the basename of the file to save is picked up from the Content-Disposition header or the URL of the response.  If the file already exists, then lwp-download will prompt before it overwrites and will fail if its standard input is not a terminal.  This form of invocation will also fail is no acceptable filename can be derived from the sources mentioned above.


Example:
 

 lwp-download http://www.shankarbhagat.com/favicon.ico

The above command will download the file "http://www.shankarbhagat.com/favicon.ico" to the folder where you executed this command.

lwp-download http://www.shankarbhagat.com/_ph/3/1/805900426.jpg /home/mint/rpc/


The above command will download the mentioned file in the path /home/mint/rpc/

 
 

Category: Open System-Linux | Views: 3126 | Added by: shanky | Rating: 4.0/2

Related blogs


You may also like to see:


[2014-09-13][Open System-Linux]
md5sum: calculate and check md5 message digest of a file in Linux
[2016-12-25][Open System-Linux]
Guide for working with zipped and archived files in Linux/AIX
[2015-08-18][Open System-Linux]
How to open a PDF file or a Postscript file in Linux - Evince Document viewer?
[2016-01-23][Open System-Linux]
Some useful examples of netstat command in Linux for network statistics
[2016-05-11][Open System-Linux]
An example to understand bash exit code $? in linux.

Total comments: 0
ComForm">
avatar