Ukukhipha izinqolobane ze-TAR.GZ ku-Linux

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.

  1. 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".
  2. Ifasitela ivula lapho ungathola khona ulwazi oluningiliziwe mayelana nendawo yokugcina. Lapha kusigaba "Okuyisisekelo" unake "Ifolda yomzali". Khumbula indlela yamanje futhi uvale ngesibindi "Izakhiwo".
  3. Qalisa "Isikhumbuzo" noma iyiphi indlela elula, isibonelo, ubambe ukhiye oshisayo I-Ctrl + Alt + T noma usebenzisa isithonjana esifanayo kwimenyu.
  4. Ngemva kokuvula i-console, ngokushesha uye kufolda yomzali ngokuthayiphacd / ekhaya / umsebenzisi / ifoldakuphi umsebenzisi - igama lomsebenzisi, futhi ifolda - igama lomqondisi. Kufanele futhi wazi ukuthi ithimbacdunomthwalo wemfanelo wokuthuthela endaweni ethile. Khumbula lokhu ukuze uqhubekise lula ukuxhumana nomugqa womyalo ku-Linux.
  5. Uma ufuna ukubuka okuqukethwe kungobo yomlando, kuzodingeka ufake umugqai-tar -ztvf i-Archive.tar.gzkuphi I-Archive.tar.gz - igama lomlando..tar.gzkudingekile ukwengeza ngesikhathi esifanayo. Lapho uqedile ukuchofoza kokufaka Ngena.
  6. Lindela ukubonisa zonke izinkomba ezifunyenwe nezinto, bese ngokupheqa isondo legundane ungabona lonke ulwazi.
  7. Qala ukukhipha endaweni lapho ukhona, ngokucacisa umyaloi-tar -xvzf archive.tar.gz.
  8. 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".
  9. Kamuva uvule imenenja yefayela bese uthola isiqondisi esenziwe, izoba negama elifanayo njengengobo yomlando. Manje ungakopisha, ubuke, uhambise futhi wenze noma yiziphi ezinye izenzo.
  10. 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.txtkuphi ifayela.txt - igama lefayili nefomethi.
  11. 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.
  12. Le nqubo isebenza nakwezinye izinkampani. Baxoshwa ngui-tar-xzvf Archive.tar.gz dbkuphi db - igama eliqondile lefolda.
  13. Uma ufuna ukususa ifolda kusuka kumhlahlandlela ogcinwe ku-archive, umyalo osetshenziswe kanje:i-tar-xzvf Archive.tar.gz db / ifoldakuphi db / ifolda - indlela edingekayo kanye nefolda ecacisiwe.
  14. Ngemva kokufaka yonke imiyalo ongayibona uhlu lokuqukethwe okutholiwe, ihlale iboniswa emigqeni ehlukene ku-console.

Njengoba ungabona, umyalo ngamunye wezinga elifakiwe uyangena.i-tarsasebenzise 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