Revision [8892]
This is an old revision of LinuxWget made by ToBo on 2009-06-21 15:56:54.
wget
1. Beispiele
Download all pdfs from a site
wget -r -l1 -nd --no-parent -A.pdf {url}
Einen Download mit wget im Hintergrund starten und gleich ausloggen
wget -b 45 -q {url}
Datei mit Links zum Download angeben
wget -i <file>
Web-Seite zum Offline-Lesen ohne zip- und pdf-Dateien
wget -r -l1 -nd -k --no-parent -p -E -Rzip,pdf http://www.tnotes.de/PageIndex
Alle Dateien eines Verzeichnisses inkl. der Unterverzeichnisse über FTP herunterladen
wget ftp://www.anyftpserver.de/folder -r --user=BENUTZERNAME --password=PASSWORT
2. Parameter an der Kommandozeile
--limit-rate=20k | |
--user=user | |
--password=password | |
-nd | Do not create a hierarchy of directories when retrieving recursively. |
-c | Continue |
-nH | Disable generation of host-prefixed directories. By default, invoking Wget with -r http://fly.srk.fer.hr/ will create a structure of directories beginning with fly.srk.fer.hr/. |
-k | Convert links to relative |
-m | Turn on options suitable for mirroring. This option turns on recursion and time-stamping, sets infinite recursion depth and keeps FTP directory listings. It is currently equivalent to -r -N -l inf--no-remove-listing. |
-E | konvertiert Endung in html |
-k | konvertiert relative Links |
-p | lädt alle erforderlichen Dateien zum Visualisieren einer Seite |
-np --no-parent | Do not ever ascend to the parent directory when retrieving recursively. |
-A, --accept=LISTE | komma-unterteilte Liste der erlaubten Dateiendungen |
-R, --reject=LISTE | komma-unterteilte Liste der zurückzuweisenden Erweiterungen |
-I list --include-directories=list | Specify a comma-separated list of directories you wish to follow when downloading (@pxref{Directory-Based Limits} for more details.) Elements of list may contain wildcards. |
-X list --exclude-directories=list | Specify a comma-separated list of directories you wish to exclude from download (@pxref{Directory-Based Limits} for more details.) Elements of list may contain wildcards. |
Siehe auch