Indlela yokucinezela kunye nokudibanisa iifayile kwiLinux

Cinezela imifanekiso yokucinezela

Kule nqaku siza kukufundisa cinezela kwaye unciphise iifayile Ukusasazwa kwe-GNU / Linux oyithandayo, yonke imiyalelo usebenzisa ikhonsoli. Inqaku elijolise kubaqalayo kwaye kuyo asizukubandakanya unyango lweetarballs njengakwezinye izifundo, kuba iya kubonisa kuphela ukuba uxinzelelo kunye noxinzelelo lwenziwa njani ngaphandle kokupakisha ngesixhobo setela esimangalisayo.

Nangona uxinzelelo kunye nokudodobala kulula, abasebenzisi bahlala bekhangela i-Intanethi ngendlela yokwenza ezi zenzo. Ndicinga ukuba ngokungafaniyo nezinye iinkqubo zokusebenza ezinje ngeMacOS kunye neeWindows apho kusetyenziswa izixhobo ezizodwa kunye nezinomdla, kwi-GNU / Linux zihlala ziboniswa. ezinye iifomathi kunye nezixhobo ezahlukeneyo nganye nganye, nangona kukho izixhobo ezilula kwinqanaba lomzobo ...

Uxinzelelo kunye nokudodobala siza kusebenzisa iipasile ezimbini ezisisiseko, kuba zezona fomathi zifunwayo kunye nezo sidibana nazo rhoqo xa sisebenza Iinkqubo ezifana ne-Unix. Ndibhekisa kwi-gzip kunye ne-bzip2.

Ukusebenza ngegzip

ukuba compress nge gzip, Ifomathi esiza kuyiphatha yiLempel-Zi (LZ77), hayi iZIP enjalo, kuba igama linokukhokelela kwisiphithiphithi. Igama livela kwi-GNU ZIP, kwaye lenziwa njengendawo yefomathi ye-ZIP, kodwa ayifani. Ndifuna ukuyicacisa ... Kulungile, ukucinezela ifayile

gzip documento.txt

Oku kuvelisa ifayile enegama elilingana neyoqobo kunye nolwandiso .gz, kumzekelo odlulileyo iya kuba document.txt.gz. Endaweni yokuba guqula igama Iziphumo ezizodwa:

gzip -c documento.txt > nuevo_nombre.gz

ukuba vula Into esele icinezelwe ilula ngokulinganayo, nangona sinokusebenzisa imiyalelo emibini eyahlukileyo enefuthe elifanayo:

gzip -d documento.gz

gunzip documento.gz

Kwaye siya kuyifumana ifayile ungatyiswanga ngaphandle kolwandiso lweg.

Ukusebenza ne-bzip2

Ewe bzip2, Iyafana nenkqubo edlulileyo, kodwa nge-compression algorithm eyahlukileyo ebizwa ngokuba yiBurrows-Wheeler kunye neHuffman coding. Ulwandiso esinalo kule meko .bz2. Ukuze ucinezele ifayile, kufuneka sisebenzise:

bzip2 documento.txt

Oku kukhokelela kuxwebhu olucinezelweyo.txt.bz2. Singahluka kwakhona igama lokuphuma kunye -c ukhetho:

bzip2 -c documento.txt > nombre.bz2

Ukudodobala ndingasebenzisa -d ukhetho lwesixhobo se-bunzip2 esili-alias:

bzip2 -d documento.bz2

gunbzip2 documento.bz2

Ngolwazi oluthe kratya onokuzisebenzisa Ndoda kulandelwa ngumyalelo ...


Umxholo wenqaku uyabambelela kwimigaqo yethu imigaqo yokuziphatha yokuhlela. Ukuxela impazamo cofa apha.

Izimvo ezi-8, shiya ezakho

Shiya uluvo lwakho

Idilesi yakho ye email aziyi kupapashwa.

*

*

  1. Uxanduva lwedatha: UMiguel Ángel Gatón
  2. Injongo yedatha: Ulawulo lwe-SPAM, ulawulo lwezimvo.
  3. Umthetho: Imvume yakho
  4. Unxibelelwano lwedatha: Idatha ayizukuhanjiswa kubantu besithathu ngaphandle koxanduva lomthetho.
  5. Ukugcinwa kweenkcukacha
  6. Amalungelo: Ngalo naliphi na ixesha unganciphisa, uphinde uphinde ucime ulwazi lwakho.

  1.   UJaime Perea sitsho

    Sawubona,

    Enkosi kakhulu kwizithuba zakho, zihlala ziluncedo.

    Mhlawumbi kunokuba ngumdla ukukhankanya i-xz, njengoko ikwasetyenziswa kancinci. Ibeka kwindawo ethile phakathi kwe-bzip2 (iyacotha, kodwa icinezela kakhulu) kunye ne-gzip (ngokukhawuleza, kodwa kungasebenzi kakuhle). Oku kuluhlu olukhulu, kuba njengayo yonke into ... kuyaxhomekeka. Iifayile ezifakwe kwiifayile zeDebian / Ubuntu .deb zihlala zixinaniswe kwifomathi ye-xz.

    Indlela yokuyisebenzisa iyafana neminye imiyalelo ye-sos.

  2.   U Ernesto sitsho

    Molo, ndicela ukubuza ukuba makwenziwe kodwa nge-tar.gz kuba isetyenziswa kakhulu (ngokoluvo lwam ngayo yonke into endiyikhuphelayo kwi-intanethi)

  3.   jolt2bolt sitsho

    Bathini malunga neefomathi ezithandwayo kodwa zeqonga elinje nge .7z? Bamele babathiye nabo

  4.   omeza sitsho

    Molo Jose, kwenzeka ntoni ngeefayile ze-tar.gz kukuba usebenzisa omnye umyalelo oyi-tar kwaye kule meko umthetho we-tar ngokwawo awucinezeli (okanye udilize) kodwa usetyenziselwa ukwenza iqela (okanye ukungadibanisi) Iifayile ezininzi kwenye, le inokudityaniswa nomyalelo we-gzip kunye ne-bzip2 onokucinezela kunye nokudibanisa.

    1.    Gonzalo sitsho

      Unyanisile, u-Ernesto, ngefomathi yasimahla ye-7z eyenza isifotho kwiWindows, endaweni ye-zip kunye ne-rar, kwaye abayikhankanyi?

  5.   a sitsho

    google.com

  6.   Usr sitsho

    Kwinkulungwane yama-21 kwaye usasebenzisa imiyalelo yokucinezela ifayile elula? Esi sithuba sibuhlungu

  7.   UCatherine sitsho

    Mhlawumbi inokuba inomdla nayo