Changes

Jump to: navigation, search

Wget

777 bytes added, 09:02, 29 August 2012
added the usage example paragraph
</package>
</source>
 
=== Usage ===
As an example. to use wget from within another package, use something similar as below. This will quietly download a single file, if the file does not exist already OR if previously downloaded, the timestamps for the local file and the file on the server do not match. If the file is already downloaded to the C drive, and the file has not been updated on the server, (i.e. the timestamps match) wget will do nothing and exit with a successful status. The [http://www.gnu.org/software/wget/manual/wget.html gnu wget manual] has a full set of command line switches that can be used.
 
 
<source lang="xml">
<install cmd='wget -q -N http://10.106.81.30/kde.ova -P c:\kde' />
</source>
 
 
-q Quiet
-N Turn on time-stamping.
-P Set the local download directory
[[Category:Silent Installers]]
8
edits

Navigation menu