TAR File yog dab tsi?

Cov txheej txheem:

TAR File yog dab tsi?
TAR File yog dab tsi?
Anonim

Yuav Paub

  • A TAR file yog Consolidated Unix Archive format file.
  • Qhib ib qho nrog 7-Zip, B1 Online Archiver, thiab lwm yam ntaub ntawv unzip cov cuab yeej.
  • Hloov mus rau archive hom xws li ZIP, TAR. GZ, thiab lwm yam nrog Zamzar lossis Online-Convert.com.

Cov kab lus piav qhia tias cov ntaub ntawv TAR yog dab tsi thiab lawv txawv li cas ntawm lwm hom ntawv khaws cia, cov kev pab cuam twg tuaj yeem rho tawm cov ntaub ntawv los ntawm lawv, thiab yuav hloov pauv li cas rau ib hom ntawv zoo sib xws.

TAR File yog dab tsi?

Luv luv rau Daim Kab Xev Archive, thiab qee zaum hu ua tarball, cov ntaub ntawv uas muaj TAR cov ntaub ntawv txuas ntxiv yog cov ntaub ntawv hauv Consolidated Unix Archive hom. Ib txoj haujlwm lossis cov lus txib uas tuaj yeem qhib cov ntaub ntawv yog xav tau los qhib TAR cov ntaub ntawv.

Vim tias TAR cov ntaub ntawv hom siv los khaws ntau cov ntaub ntawv hauv ib cov ntaub ntawv, nws yog ib txoj hauv kev nrov rau ob qho tib si khaws cia thiab xa ntau cov ntaub ntawv hauv internet, xws li software downloads.

TAR cov ntaub ntawv hom yog muaj nyob rau hauv Linux thiab Unix systems, tab sis tsuas yog khaws cov ntaub ntawv, tsis compressing nws. TAR cov ntaub ntawv feem ntau compressed tom qab tsim, tab sis cov no dhau los ua cov ntaub ntawv TGZ, siv TGZ, TAR. GZ, lossis GZ txuas ntxiv.

TAR kuj yog ib qho lus luv rau kev thov kev pabcuam, tab sis nws tsis muaj dab tsi ua rau TAR cov ntaub ntawv hom.

Yuav qhib TAR File

TAR cov ntaub ntawv, ua ib hom ntawv archive feem ntau, tuaj yeem qhib nrog cov cuab yeej zip / unzip nrov tshaj plaws. PeaZip thiab 7-Zip yog ob qho ntawm cov ntaub ntawv pub dawb zoo dua uas txhawb nqa ob qho tib si qhib TAR cov ntaub ntawv thiab tsim cov ntaub ntawv TAR, tab sis kos tawm cov npe ntawm cov ntaub ntawv pub dawb rau ntau qhov kev xaiv.

B1 Online Archiver thiab ezyZip yog ob qho lwm tus TAR openers, tab sis lawv khiav hauv koj tus browser tsis yog los ntawm kev rub tawm. Tsuas yog upload lub TAR rau ib qho ntawm ob lub vev xaib no kom tshem tawm cov ntsiab lus.

Unix systems tuaj yeem qhib TAR cov ntaub ntawv yam tsis muaj lwm cov kev pab cuam los ntawm kev siv cov lus txib hauv qab no, qhov twg file.tar yog lub npe ntawm TAR cov ntaub ntawv:


tar -xvf file.tar

How to make a Compressed TAR File

Dab tsi tau piav qhia ntawm nplooj ntawv no tsuas yog yuav qhib li cas, lossis rho tawm cov ntaub ntawv los ntawm TAR archive. Yog tias koj xav ua koj tus kheej TAR cov ntaub ntawv los ntawm cov folders lossis cov ntaub ntawv, qhov yooj yim tshaj plaws yuav yog siv cov duab kos duab zoo li 7-Zip.

  1. Xaiv tag nrho cov ntaub ntawv thiab cov folders koj xav tau hauv TAR cov ntaub ntawv.
  2. Right-click ib qho ntawm cov khoom tseem ceeb thiab xaiv Ntxiv rau archive.

  3. Choose tar los ntawm Archive format drop-down menu.

    Image
    Image
  4. Xaiv OK.

Lwm qhov kev xaiv, tsuav yog koj nyob ntawm Linux, yog siv cov kab hais kom ua los tsim cov ntaub ntawv TAR. Txawm li cas los xij, nrog rau cov lus txib no, koj tseem yuav tau compressing TAR cov ntaub ntawv, uas yuav tsim ib daim ntawv TAR. GZ.

Cov lus txib no yuav ua rau TAR. GZ cov ntaub ntawv tawm ntawm ib lub nplaub tshev lossis ib cov ntaub ntawv, qhov twg koj xaiv:

tar -czvf name-of-archive.tar.gz /path/to/folder-or-file

Qhov no yog qhov lus txib no ua:

  • -c: Tsim ib qho archive
  • -z: Siv gzip txhawm rau txhawm rau khaws cia
  • -v: Qhib hom verbose los qhia txog kev nce qib ntawm cov txheej txheem tsim
  • -f: Cia koj qhia lub npe ntawm cov ntaub ntawv

Ntawm no yog ib qho piv txwv yog tias koj xav "TAR ib cov ntaub ntawv" (ua ib daim ntawv TAR) los ntawm ib daim ntawv teev npe /myfiles/ kom nws hu ua files.tar.gz:

tar -czvf files.tar.gz /usr/local/myfiles

How to Convert a TAR File

Zamzar thiab Online-Convert.com yog ob lub converters pub dawb, ob lub vev xaib, uas yuav hloov cov ntaub ntawv TAR rau ZIP, 7Z, TAR. BZ2, TAR. GZ, YZ1, LZH, lossis CAB. Feem ntau ntawm cov hom ntawv no yog cov ntawv compressed tiag tiag, uas TAR tsis yog, txhais tau hais tias cov kev pabcuam no ua rau compress TAR ib yam nkaus.

Image
Image

Nco ntsoov tias yog tias koj siv ib qho ntawm cov hloov pauv hauv online, koj yuav tsum xub xa cov ntaub ntawv TAR rau ib qho ntawm cov vev xaib. Yog tias cov ntaub ntawv loj, koj yuav zoo dua nrog kev mob siab rau, offline converting tool.

Txhua yam xav tau, txoj hauv kev zoo tshaj los hloov TAR rau ISO yuav yog siv AnyToISO program pub dawb. Nws txawm ua haujlwm ntawm txoj cai-nias cov ntsiab lus ntawv qhia zaub mov yog li koj tuaj yeem nyem nyem rau ntawm TAR cov ntaub ntawv thiab tom qab ntawd xaiv hloov nws mus rau cov ntaub ntawv ISO.

Xav tias TAR cov ntaub ntawv yog ib cov ntaub ntawv sau los ntawm ntau cov ntaub ntawv, TAR rau ISO hloov dua siab tshiab ua rau muaj kev nkag siab zoo tshaj plaws txij li cov hom ntawv ISO yog ib yam ntawm cov ntaub ntawv. Cov duab ISO, txawm li cas los xij, muaj ntau dua thiab txhawb nqa dua li TAR, tshwj xeeb tshaj yog hauv Windows.

TAR cov ntaub ntawv tsuas yog ntim rau lwm cov ntaub ntawv, zoo ib yam li cov folders. Yog li ntawd, koj tsis tuaj yeem hloov cov ntaub ntawv TAR rau CSV, PDF, lossis lwm hom ntaub ntawv tsis-archive. Txhawm rau "hloov" cov ntaub ntawv TAR rau ib qho ntawm cov qauv no tsuas yog txhais tau tias tshem cov ntaub ntawv tawm ntawm cov ntaub ntawv, uas koj tuaj yeem ua nrog ib qho ntawm cov ntaub ntawv rho tawm tau hais los saum toj no.

Koj cov ntaub ntawv tseem tsis qhib?

Qhov kev piav qhia yooj yim tshaj plaws yog vim li cas koj cov ntaub ntawv tsis qhib zoo li tau piav qhia saum toj no yog tias nws tsis yog qhov kawg ntawm. TAR cov ntaub ntawv txuas ntxiv. Muab ob npaug rau-xyuas lub ntsiab lus kom paub meej; qee cov ntaub ntawv txuas ntxiv tau sau zoo sib xws thiab nws tuaj yeem yooj yim ua yuam kev rau lwm hom ntaub ntawv.

Piv txwv li, ib daim ntawv TAB siv ob ntawm peb cov ntaub ntawv txuas ntxiv TAR muaj tab sis tsis cuam tshuam rau hom ntawv txhua. Lawv tsis yog Typinator Set, MapInfo TAB, Guitar Tablature, lossis Tab Separated Data files-txhua hom ntawv qhib nrog cov ntawv thov tshwj xeeb, tsis muaj ib qho ntawm cov cuab yeej rho tawm cov ntaub ntawv zoo li 7-Zip.

Qhov zoo tshaj plaws ua yog tias koj tab tom cuam tshuam nrog cov ntaub ntawv uas tsis yog daim kab xev Archive yog tshawb nrhiav cov ntaub ntawv tshwj xeeb txuas ntxiv ntawm Lifewire lossis lwm qhov hauv internet, thiab koj yuav tsum tuaj yeem nrhiav tau cov ntawv thov twg yog siv los qhib lossis hloov cov ntaub ntawv.

Yog tias koj muaj TAR cov ntaub ntawv tab sis nws tsis qhib nrog cov lus qhia los ntawm saum toj no, nws zoo li tias koj cov ntaub ntawv rho tawm tsis paub txog hom ntawv thaum koj nyem ob npaug rau nws. Yog tias koj siv 7-Zip, nyem nyem rau ntawm cov ntaub ntawv, xaiv 7-Zip, thiab tom qab ntawd yog Open archive lossis Extract files

FAQ

    Koj qhib cov ntaub ntawv tar.gz li cas?

    Ntawm Mac, qhib cov ntaub ntawv tar.gz los ntawm ob-nias ntawm cov ntaub ntawv; Mac's Archive Utility yuav rho tawm thiab qhib cov ntaub ntawv tar.gz tau. Ntawm Windows, koj yuav xav tau ib qho kev pab cuam sab nraud los qhib cov ntaub ntawv tar.gz, xws li 7-ZIP (sib tham saum toj no), uas tseem qhib cov ntaub ntawv TAR.

    Kuv yuav nruab ib cov ntaub ntawv tar.gz li cas?

    Yog tias cov ntaub ntawv tar.gz raug siv los faib daim ntawv thov qhov chaws lossis cov ntaub ntawv binary uas ua tiav qhov kev pab cuam, koj yuav nruab pob tar.gz. Hauv Linux, rho tawm tar.gz pob cov ntsiab lus los ntawm kev nkag mus rau tar xvf tarball.tar.gz rau hauv kab hais kom ua. Nkag mus rau cov ntawv qhia tshiab uas tau muab rho tawm thiab nrhiav cov ntaub ntawv nrog cov lus qhia rau kev sau thiab ua tiav qhov program. Tej zaum nws yuav raug hu ua Install lossis qee yam zoo sib xws. Qee zaum, koj tuaj yeem pom cov ntaub ntawv Configure, uas koj yuav tsum tau ua. Tom ntej no, koj yuav tsim ib pob los ntawm kev nkag mus rau qhov hais kom ua make -arguments, uas yuav ua rau cov kab ua tiav. Txhawm rau ua tiav qhov kev zov me nyuam, koj yuav nruab nws nrog cov lus txib ua kom nruabNco ntsoov tias txheej txheem no yuav txawv nyob ntawm hom kev ua tiav cov ntaub ntawv koj tab tom txhim kho.

Pom zoo: