Wget notes: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
(New page: sample config, use .netrc not .wgetrc machine servername login mylogin password mypassword Category:Computers) |
No edit summary |
||
Line 4: | Line 4: | ||
machine servername login mylogin password mypassword | machine servername login mylogin password mypassword | ||
sample script: | |||
<pre> | |||
isengard | |||
cd /data/updates | |||
wget -r -nH --cut-dirs=3 ftp://updates.redhat.com/8.0/en/os/noarch | |||
wget -r -nH --cut-dirs=3 ftp://updates.redhat.com/8.0/en/os/i386 | |||
wget -r -nH --cut-dirs=3 ftp://updates.redhat.com/8.0/en/os/i686 | |||
</pre> | |||
[[Category:Computers]] | [[Category:Computers]] |
Latest revision as of 03:09, 29 May 2023
sample config, use .netrc not .wgetrc
machine servername login mylogin password mypassword
sample script:
isengard cd /data/updates wget -r -nH --cut-dirs=3 ftp://updates.redhat.com/8.0/en/os/noarch wget -r -nH --cut-dirs=3 ftp://updates.redhat.com/8.0/en/os/i386 wget -r -nH --cut-dirs=3 ftp://updates.redhat.com/8.0/en/os/i686