A cikin labarin na gaba zan nuna muku babban umarnin Linux para damfara da decompress fayiloli a cikin tsare-tsaren da aka fi amfani da su.
Tabbas wani mai amfani ko mai bin shafin, yana tunanin cewa amfani da tashar da ke da shirye-shirye ko hanyoyin yin shi ta hanyar zane ko taimaka, babban ci baya ne, amma kamar yadda Ilimi baya faruwa, kuma ina so in san abin da nake yi kuma in duba hanyoyi daban-daban na yin abubuwa, a nan ne manyan umarni don damfara da decompress fayiloli a Linux tushen a Debian.
Gz fayiloli
Don damfara fayil a cikin tsarin gz za mu yi amfani da umarni mai zuwa:
- zuci -9 fayil
Ina fayil shine sunan fayil don damfara
Don kwance shi za mu yi amfani da wannan:
- gzip -d fayil.gz
Bz2 fayiloli
Wannan ƙarin ƙarfin yana iya damfara / ɓata fayilolin mutum, don haka kar a gwada shi da manyan fayiloli.
Don damfara za mu yi amfani da:
- fayil din bzip
Don cirewa:
- bzip2 -d fayil.bz2
Tar.gz fayiloli
Don damfara fayil ko shugabanci zuwa wannan tsawo zamuyi amfani da layi mai zuwa:
- tar -czfv fayilolin archive.tar.gz
Don cirewa:
- tar -xzvf fayil.tar.gz
Don duba abubuwan cikin fayil a cikin tsarin tar.gz:
- tar -tzf fayil.tar.gz
Tar.bz2 fayiloli
Don matsawa zuwa wannan tsarin za mu yi amfani da:
- fayilolin tar -c | bzip2> file.tar.bz2
Don cirewa:
- bzip2 -dc file.tar.bz2 | kwalta -xv
- bzip2 -dc file.tar.bz2 | tar -t
Zip fayiloli
Wannan ɗayan ingantattun tsare-tsaren da ake amfani dasu, don damfara fayil zuwa wannan ƙarin daga tashar da zamu yi amfani da layin umarni masu zuwa:
- zip fayiloli.zip
- kasa kwancewa fayil.zip
- kasa kwancewa -v fayil.zip
Rar fayiloli
Wannan shine mafi daidaitaccen kuma yayi amfani da sauran tsari ko tsawo, don damfara fayil ko shugabanci zuwa wannan tsarin da zamuyi amfani dashi:
- rar -a fayiloli.rar fayiloli
- rar -x fayil.rar
- rar -l file.rar
Yamma:
- rar -v fayil.rar
Kamar yadda kake gani, ba abu ne mai wahala a yi amfani da tashar don yin wasu abubuwa lokaci-lokaci ba, don haka yayin da muke koyo, muna sanya matsalar launin toka cikin tsari.
Informationarin bayani - Wasu gajerun hanyoyin gajerun hanyoyin maɓalli don Ubuntu
Labari mai kyau na gode Ina son tashar
Labari mai ban sha'awa. A koyaushe ina mamakin yadda aka buɗe wasu fakiti. Godiya da fatan alheri.
hola
Umurnin damfara a tar gz tar -czvf (ba tar -czfv) in ba haka ba ya kasa.