hi leute
wie kann ich wget beibringen die zu downloadende datei nicht ins home verzeichniss sondern ein einen von mir bestimmten ppad zu laden?
wget /mein/ pfad /http://www.meine.html
geht nicht
wget mit pfadangabe
Dafür gibt es die Optionen -P bzw. -O:
info wget hat geschrieben:`-P PREFIX'
`--directory-prefix=PREFIX'
Set directory prefix to PREFIX. The "directory prefix" is the
directory where all other files and subdirectories will be saved
to, i.e. the top of the retrieval tree. The default is `.' (the
current directory).
`-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
`-'.)