Uhlobo lwedatha lwezinhlelo zefayela kuLinux yi-TAR.GZ - ingobo yomlando evunyelwe ngosizo lwe-Gzip. Ezincwadini ezinjalo, izinhlelo ezihlukahlukene nezinhlu zamafolda nezinto ezivame ukuhanjiswa, okuvumela ukunyakaza okulula phakathi kwamadivayisi. Ukukhipha lolu hlobo lwefayela nakho kuyinto elula, ngoba lokhu udinga ukusebenzisa insiza ejwayelekile eyakhelwe ngaphakathi. "Isikhumbuzo". Lokhu kuzokuxoxwa kulesi sihloko namhlanje.
Ukukhipha izinqolobane ze-TAR.GZ ku-Linux
Akukho lutho oluyinkimbinkimbi kwinqubo yokunciphisa ngokwayo; umsebenzisi udinga kuphela ukwazi umyalo owodwa nezimpikiswano eziningana ezixhunyaniswe nakho. Ukufakwa kwamathuluzi angeziwe akudingeki. Inqubo yokwenza lo msebenzi kuzo zonke izimpahla iyafana, sithatha njengesibonelo inguqulo yakamuva ye-Ubuntu bese sikunikeza isinyathelo ngesinyathelo ukubhekana nombuzo wesithakazelo.
- Okokuqala, udinga ukunquma indawo yokugcina yengobo yomlando oyifunayo, ukuze uhambe kufolda yomzali nge-console bese wenza zonke ezinye izenzo lapho. Ngakho-ke, vula imenenja yefayela, thola ingobo yomlando, chofoza ngakwesokudla kuso bese ukhetha "Izakhiwo".
- Ifasitela ivula lapho ungathola khona ulwazi oluningiliziwe mayelana nendawo yokugcina. Lapha kusigaba "Okuyisisekelo" unake "Ifolda yomzali". Khumbula indlela yamanje futhi uvale ngesibindi "Izakhiwo".
- Qalisa "Isikhumbuzo" noma iyiphi indlela elula, isibonelo, ubambe ukhiye oshisayo I-Ctrl + Alt + T noma usebenzisa isithonjana esifanayo kwimenyu.
- Ngemva kokuvula i-console, ngokushesha uye kufolda yomzali ngokuthayipha
cd / ekhaya / umsebenzisi / ifolda
kuphi umsebenzisi - igama lomsebenzisi, futhi ifolda - igama lomqondisi. Kufanele futhi wazi ukuthi ithimbacd
unomthwalo wemfanelo wokuthuthela endaweni ethile. Khumbula lokhu ukuze uqhubekise lula ukuxhumana nomugqa womyalo ku-Linux. - Uma ufuna ukubuka okuqukethwe kungobo yomlando, kuzodingeka ufake umugqa
i-tar -ztvf i-Archive.tar.gz
kuphi I-Archive.tar.gz - igama lomlando..tar.gz
kudingekile ukwengeza ngesikhathi esifanayo. Lapho uqedile ukuchofoza kokufaka Ngena. - Lindela ukubonisa zonke izinkomba ezifunyenwe nezinto, bese ngokupheqa isondo legundane ungabona lonke ulwazi.
- Qala ukukhipha endaweni lapho ukhona, ngokucacisa umyalo
i-tar -xvzf archive.tar.gz
. - Isikhathi senkambiso ngezinye izikhathi sithatha isikhathi esiningi kakhulu, esilandela inani lamafayela ngaphakathi kwirekhodi ngokwalo kanye nosayizi wabo. Ngakho-ke, linda kuze kuvele umugqa omusha wokufakwayo futhi ungavale kuze kube yileli phuzu. "Isikhumbuzo".
- Kamuva uvule imenenja yefayela bese uthola isiqondisi esenziwe, izoba negama elifanayo njengengobo yomlando. Manje ungakopisha, ubuke, uhambise futhi wenze noma yiziphi ezinye izenzo.
- Kodwa-ke, umsebenzisi akadingi njalo ukukhipha wonke amafayela kusuka kungobo yomlando, yingakho kubalulekile ukuphawula ukuthi insiza embuzweni isekela into eyodwa ethize. Ukuze wenze lokhu, sebenzisa umyalo we-tar.
-xzvf Archive.tar.gz file.txt
kuphi ifayela.txt - igama lefayili nefomethi. - Kumele futhi ucabange irejista yegama, ulandele ngokucophelela zonke izinhlamvu nezimpawu. Uma ngabe okungenani iphutha elilodwa lenziwe, ifayela alikwazi ukuthola futhi uzothola isaziso mayelana nokuvela kwephutha.
- Le nqubo isebenza nakwezinye izinkampani. Baxoshwa ngu
i-tar-xzvf Archive.tar.gz db
kuphi db - igama eliqondile lefolda. - Uma ufuna ukususa ifolda kusuka kumhlahlandlela ogcinwe ku-archive, umyalo osetshenziswe kanje:
i-tar-xzvf Archive.tar.gz db / ifolda
kuphi db / ifolda - indlela edingekayo kanye nefolda ecacisiwe. - Ngemva kokufaka yonke imiyalo ongayibona uhlu lokuqukethwe okutholiwe, ihlale iboniswa emigqeni ehlukene ku-console.
Njengoba ungabona, umyalo ngamunye wezinga elifakiwe uyangena.i-tar
sasebenzise izimpikiswano eziningana ngesikhatsi esifanayo. Udinga ukwazi okushiwo yilowo nalowo kubo, uma kuphela ngoba kuzokusiza ukuthi uqonde kangcono i-algorithm yokucindezela ngokulandelana kwezenzo zosizo. Khumbula udinga izimpendulo ezilandelayo:
-x
- khipha amafayela kusuka ku-archive;-f
- cacisa igama le-archive;-z
- ukwenza okuzimele nge-Gzip (kuyadingeka ukungena, ngoba kunezinhlobo eziningana ze-TAR, isibonelo, i-TAR.BZ noma i-TAR nje (ingobo yomlando ngaphandle kokucindezela));-v
- ukubonisa uhlu lwamafayela asetshenzisiwe esikrinini;-t
- kubonisa okuqukethwe.
Namuhla, ukunakekelwa kwethu kugxile ikakhulukazi ekuqedeni uhlobo lwefayela olucatshangelwe. Sikhombise ukuthi okuqukethwe kubhekwa kanjani, sidonsa into eyodwa noma isiqondisi. Uma unesithakazelo kwinqubo yokufaka izinhlelo ezigcinwe ku-TAR.GZ, uzosizwa enye into esiyothola ngokuchofoza isixhumanisi esilandelayo.
Bheka futhi: Ukufaka amafayela we-TAR.GZ ku-Ubuntu