[CONTOURNE] Option wget

Bonsoir,

Pour un script bash, j’ai besoin de télécharger le dernier fichier modifié d’une page web : snapshots.madwifi.org/madwifi-trunk/

Je pense donc utiliser wget pour cela, mais j’aimerais savoir s’il existe une option pour lui dire de télécharger le dernier fichier modifié. si ce n’est pas possible, une autre commande peut elle le faire ?

De plus, parfois, je vois wget utilisé avec l’option -O- pour télécgarger des clé souvent. Mais que veut dire cette option ?

J’ai beau chercher ces différentes options sur les pages de mans, je ne trouve pas.

Pouvez-vous m’aider ?
Merci

Carnibal

-O file
–output-document=file
The documents will not be written to the appropriate files, but all will be
concatenated together and written to file. If - is used as file, documents
will be printed to standard output, disabling link conversion. (Use ./- to
print to a file literally named -.)

       Use of -O is not intended to mean simply "use the name file instead of the
       one in the URL;" rather, it is analogous to shell redirection: wget -O file
       [foo](http://foo) > file; file will
       be truncated immediately, and all downloaded content will be written there.

       For this reason, -N (for timestamp-checking) is not supported in combination
       with -O: since file is always newly created, it will always have a very new
       timestamp. Contrary to some users’ expectations, the combination has never
       worked, and as of version 1.11, it results in an error.

Je l’avais déja lu mais j’avais pas compris la définition en anglais. J’ai trouvé maintenant.

Et pour l’option de télécharger le dernier fichier modifié, avez-vous une idée ?

Merci

J’ai trouvé. J’ai utilisé la commande svn au lieu de wget.