Monday 18 February 2013

Download file to a specific location using WGET

WGET is unix command used to download file.
To download a file on specific location:


wget  -P  "C:\Users\me\Desktop"  http://address/of/file.doc

-P prefix
--directory-prefix=prefix
           Set directory prefix to prefix.  The directory prefix is the
           directory where all other files and sub-directories will be
           saved to, i.e. the top of the retrieval tree.  The default
           is . (the current directory).

No comments:

Post a Comment