- Huawei Watch GT 6 és GT 6 Pro duplateszt
- Sötétvörös iPhone 18 Pro, ezüst-fekete iFold?
- Apple iPhone Air - almacsutka
- Samsung Galaxy A54 - türelemjáték
- Elmentünk fotózni a Xiaomi 17 Ultrával
- Milyen okostelefont vegyek?
- Apple Watch Sport - ez is csak egy okosóra
- Garmin Fenix 7 és 7S - profi sport megszokásból
- Apple iPhone 16 Pro - rutinvizsga
- A nap színe: a vörös
-
Mobilarena
Mára a ProHardver!/IT.News Fórum is nagylétszámú Linuxban jártas taggal büszkélkedhet. Nehéz szinteket felállítani egy olyan rendszer ismeretében, ami annyira sokrétű, hogy teljesen szinte lehetetlen megismerni minden egyes részét. Azt azonban mindenki tudja, hogy kezdő-e vagy sem. Elsősorban nekik szólnak az alábbiak, de érdemes mindenkinek elolvasnia, mint útjelző táblát.
Új hozzászólás Aktív témák
-
Rickazoid
addikt
válasz
utgyuru
#10447
üzenetére
wget -r http://connie.slackware.com/~alien/multilib/13.1/
Ez leszedi a teljes tartalmat a gyökérkönyvtártól kezdve, felépítve a szerveren található mappaszerkezetet.
Vannak opciók a főkönyvtár kihagyására (-nH) és egyéb könyvtárak kihagyására (--cut-dirs=x, ahol x a kihagyni kívánt mappamélység visszafelé az adott mappától), de most kipróbáltam és úgy tűnik, hogy bár a mappaszerkezetet nem építi fel ebben az esetben, csak a kihagyott mappák alatti mappáktól kezdve, de ugyan úgy letölt minden ott található fájlt a gyökérkönyvtárig visszamenőleg.
Amúgy a man wget tartalmaz információkat erről:
-nH
--no-host-directories
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/. This
option disables such behavior.--cut-dirs=number
Ignore number directory components. This is useful for getting a
fine-grained control over the directory where recursive retrieval
will be saved.
Take, for example, the directory at
ftp://ftp.xemacs.org/pub/xemacs/. If you retrieve it with -r, it
will be saved locally under ftp.xemacs.org/pub/xemacs/. While the
-nH option can remove the ftp.xemacs.org/ part, you are still stuck
with pub/xemacs. This is where --cut-dirs comes in handy; it makes
Wget not "see" number remote directory components. Here are
several examples of how --cut-dirs option works.
No options -> ftp.xemacs.org/pub/xemacs/
-nH -> pub/xemacs/
-nH --cut-dirs=1 -> xemacs/
-nH --cut-dirs=2 -> .
--cut-dirs=1 -> ftp.xemacs.org/xemacs/
...
If you just want to get rid of the directory structure, this option
is similar to a combination of -nd and -P. However, unlike -nd,
--cut-dirs does not lose with subdirectories---for instance, with
-nH --cut-dirs=1, a beta/ subdirectory will be placed to
xemacs/beta, as one would expect.
Új hozzászólás Aktív témák
- Fallout 4 Pip-Boy Edition eladó
- Játékkulcsok olcsón: Steam, Uplay, GoG, Origin, Xbox, PS stb.
- Adobe Előfizetések - Adobe Creative Cloud All Apps - 12 Hónap - 15% AKCIÓ
- Kaspersky, BitDefender, Avast és egyéb vírusírtó licencek a legolcsóbban, egyenesen a gyártóktól!
- Számlás!Steam,EA,Epic és egyébb játékok Pc-re vagy XBox!
- Azonnali készpénzes AMD Radeon RX 6000 sorozat videokártya felvásárlás személyesen/csomagküldéssel
- Honor 200 / 8/256GB / Kártyafüggetlen / 12Hó Garancia
- GYÖNYÖRŰ iPhone 13 Pro Max 128GB Gold -1 ÉV GARANCIA - Kártyafüggetlen, MS4368
- 233 - Lenovo Legion Pro 7 (16IAX10H) - Intel Core U9 275HX, RTX 5080
- GYÖNYÖRŰ iPhone 12 128GB Black -1 ÉV GARANCIA - Kártyafüggetlen, MS4567
Állásajánlatok
Cég: Laptopműhely Bt.
Város: Budapest

