Yuav Tsim Cov Tar Archive

Cov txheej txheem:

Yuav Tsim Cov Tar Archive
Yuav Tsim Cov Tar Archive

Video: Yuav Tsim Cov Tar Archive

Video: Yuav Tsim Cov Tar Archive
Video: КАК ОТКРЫТЬ АРХИВ gzip, bzip, tar ▣-▣ Компьютерщик 2024, Hlis ntuj nqeg
Anonim

Cov ntaub ntawv sau TAR feem ntau siv rau hauv kev ua haujlwm Linux. Ntawm qee qhov kev faib tawm, qhov no yog tib hom ntawv uas siv los ntawm cov tswj hwm pob. Tab sis qee lub sijhawm xws li lub qauv yuav tsum tau tsim kom zoo dua li tsis tsim.

Yuav tsim cov tar archive
Yuav tsim cov tar archive

Cov Lus Qhia

Kauj ruam 1

Thawj txoj hauv kev los tsim TAR archive yog raws li hauv qab no. Nrhiav hauv cov ntawv tsim cov kab ke ntawm koj lub khoos phis tawm cov qauv qub (nrog txuas ntxiv. TAR. GZ). Luam nws (cia li luam, tsis txav mus!) Rau lub nplaub tshev yooj yim rau koj. Tom qab ntawd mus rau nws siv Midnight Commander file file manager xws li tom lub luag haujlwm tsis tseg. Tshem tawm tag nrho cov ntsiab lus los ntawm nws, tsuas yog rau ib qho ntawm cov ntaub ntawv (yog tias koj ua rau cov ntawv khaws tseg khoob, ib qho kev ua yuam kev yuav ua). Tom qab ntawv luam cov ntaub ntawv koj xav tau rau hauv nws. Tom qab ntawd, lwv cov ntaub ntawv kawg ntawm cov qub ntsiab lus ntawm lub qhov qub chaw. Thaum kawg, tom qab tawm ntawm cov archive, xws li los ntawm ib daim nplaub tshev, pauv npe rau nws raws li koj nyiam siv cov cuab yeej ntawm tib Midnight Commander program. Hauv qhov no, tsis txhob hloov pauv txuas ntxiv.

Kauj ruam 2

Qhov thib ob txoj kev los tsim TAR archive yog nkag mus rau cov lus txib uas yuav tsum tau los ntawm cov keyboard hauv lub console. Txhawm rau ua qhov no, ua ntej tsim daim nplaub tshev tshiab nrog lub npe yam xav tau. Luam cov ntaub ntawv uas koj xav kom muab tso rau hauv nws. Tom qab ntawd, los ntawm sab nraum daim nplaub tshev no, uas yog, ib theem nce, nkag mus rau cov lus txib nram qab no:

tar -cvf archive.tar / path / rau / lub / nplaub tshev, qhov twg archive.tar yog lub npe ntawm archive, / path / to / the / nplaub tshev yog tag nrho txoj kev mus rau nplaub tshev nrog cov ntaub ntawv. Cov ntaub ntawv khaws cia yuav tsim nyob rau hauv daim nplaub tshev ib qib siab.

Kauj ruam 3

Yog tias cov ntawv pov thawj zoo ib yam tuaj yeem muab lawv ib txhij nrog muab cov ntaub ntawv tso rau hauv qhov chaw saib xyuas, tom qab ntawv cov ntaub ntawv no yuav tsum ua kom nyias muaj nyias. Ua li no, muab cov lus txib zoo li no:

gzip archive.tar

Yog li ntawd, cov ntaub ntawv nrog cov ntawv sib dhos yuav muab nthuav dav, thiab qhov thib ob txuas ntxiv, GZ, yuav ntxiv rau nws lub npe.

Kauj ruam 4

Yog tias qhov xav tau, hloov ob txoj kev txuas ntxiv. TAR. GZ rau cov ntawv zoo li ntawd nrog ib qho - TGZ, uas yuav tso cai, piv txwv li, khaws nws ntawm cov tshuab khiav DOS, qhov twg muab ob qhov txuas txuas ntxiv kom tsis tau paub tias muaj kev txhawb nqa.

Kauj ruam 5

Yuav rho tawm cov ntaub ntawv tsim nyog los ntawm cov chaw khaws cia, tsuas yog nkag mus rau nws nrog qhov hais los saum toj-hais txog Midnight Commander program li nyob rau hauv ib qho chaw ceev ceev, thiab tom qab ntawd ua cov haujlwm uas xav tau nrog cov ntaub ntawv zoo li yog tias lawv tsis nyob hauv cov ntawv khaws tseg, tab sis nyob hauv daim nplaub tshev.

Pom zoo: