Yadda zaka cire kayan tarihin ZIP a Linux

Pin
Send
Share
Send

Wani lokaci ya fi sauƙi don adana shirye-shiryen, kundin adireshi da fayiloli a cikin hanyar adana bayanai, tunda suna ɗaukar sararin samaniya a cikin kwamfutar, kuma suna iya wucewa ta hanyar kafofin watsa labarai masu iyawa zuwa kwamfutoci daban-daban. Daya daga cikin sanannun tsararrun kayan adana kayan tarihin ana la'akari da ZIP. A yau zamu so magana game da yadda ake aiki tare da wannan nau'in bayanai a cikin tsarin sarrafawa dangane da ƙwaƙwalwar ƙwaƙwalwar Linux, saboda daidai fashewa ko kallon abubuwan da ke ciki dole ne kuyi amfani da ƙarin abubuwan amfani.

Cire kayan ajiya na ZIP a Linux

Bayan haka, zamu taba amfani da kayan amfani da abubuwa guda biyu na kyauta waɗanda ke gudana ta cikin na'ura wasan bidiyo, wato, mai amfani zai shigar da ginannun abubuwa da ƙarin umarni don sarrafa duk fayiloli da kayan aikin. Misali a yau shine rarraba Ubuntu, kuma ga masu sauran majalloli za mu mai da hankali kan duk wani sabani.

Zan kuma so in lura idan kuna sha'awar kara shigar da shirin daga ɗakunan ajiya, da farko duba don ganin idan ta kasance a cikin ma'ajiyar bayanan hukuma ne ko a cikin fakiti daban don rarrabawa ku, saboda yafi sauƙin aiwatar da irin wannan shigarwa.

Karanta kuma: Sanya fakitin RPM / DEB a Ubuntu

Hanyar 1: Kasa cirewa

Kodayake Ubuntu Unzip shine ginanniyar kayan aiki wanda zai ba ku damar sarrafa kayan tarihin nau'in da muke buƙata, amma, a cikin sauran majalisarku na Linux wannan kayan aiki mai amfani ba za a samu ba, don haka bari mu fara da shigar da shi, sannan zamu gano ma'amalar.

  1. Don farawa, gudana "Terminal" kowane hanya mai dacewa, alal misali, ta cikin menu.
  2. Rubuta umarnin anansudo dace da kafa unzipdon rarrabawa akan Ubuntu ko Debian, kosudo yum shigar da zip ɗin zipsaboda sigogin da suke amfani da kunshin tsarin Haraji. Bayan gabatarwa, danna kan Shigar.
  3. Shigar da kalmar wucewa don kunna tushen tushe, saboda muna amfani da umarnin sudota bin duk matakan a matsayin superuser.
  4. Yanzu ya kasance jira har sai an ƙara fayiloli duka a cikin tsarin aiki. Idan kana da Unzip a kwamfutarka, zaka karɓi sanarwa.
  5. Bayan haka, kuna buƙatar gano wurin da adana kayan tarihin da ake so, idan baku riga kun yi hakan ba a gaba. Don yin wannan, buɗe babban fayil ɗin ajiya, danna RMB a kai kuma zaɓi "Bayanai".
  6. Ka tuna da hanyar babban fayil na iyaye, zai zo cikin amfani yayin shirya.
  7. Koma ga "Terminal" kuma kewaya zuwa babban fayil na iyaye tare dacd / gida / mai amfani / babban fayilina mai amfani - sunan mai amfani, da babban fayil - sunan babban fayil inda adana kayan tarihin.
  8. Don fara aiwatar da tsari, kawai rubutababban fayilina babban fayil - sunan kayan tarihin, .zip ba lallai ba ne don ƙara, mai amfani zai tantance tsarin.
  9. Jira sabon layin shiga. Idan babu kurakurai da suka fito, to komai ya tafi daidai kuma za ku iya zuwa babban fayil ɗin mahaifa don nemo sigar da ba a riga an gama ba.
  10. Idan kana son sanya fayilolin da aka cire a cikin babban fayil, dole ne ka yi amfani da ƙarin gardama. Yanzu kuna buƙatar yin rajistababban fayil.zip -d / hanyaina / hanya - sunan babban fayil inda yakamata a ajiye fayilolin.
  11. Jira har sai an sarrafa abubuwa duka.
  12. Kuna iya duba abubuwan da ke cikin ɗakunan ajiya tare da umarninbabban fayil-unzip -l.zipyayin da a cikin babban fayil na iyaye. Nan da nan za ku ga duk fayilolin da aka samo.

Amma game da ƙarin muhawara da aka yi amfani da ita a cikin amfanin Unzip, anan akwai wasu mahimman abubuwa:

  • -u- sabunta fayel fayiloli a cikin directory;
  • -v- nuna duk wani bayani game da abu;
  • -P- saita kalmar wucewa don samun izini don buɗe abubuwan tattara bayanan (idan akwai bayanin ɓoye);
  • -n- Kada a goge bayanan fayilolin da suke wanzu a wurin fitarwa;
  • -j- watsi da tsarin adana kayan tarihi.

Kamar yadda kake gani, babu wani abu mai rikitarwa a cikin sarrafa mai amfani da ake kira Unzip, amma bai dace da duk masu amfani ba, saboda haka muna ba da shawarar ku san kanku da hanyar ta biyu, inda za'a yi amfani da mafi kyawun bayani.

Hanyar 2: 7z

Amfani da yawa na 7z don aiki tare da kayan tarihin an tsara shi ba kawai don yin hulɗa tare da fayil ɗin iri ɗaya ba, har ma yana tallafawa sauran tsararrun hanyoyin, ciki har da ZIP. Hakanan akwai sigar wannan kayan aiki don tsarin aiki na Linux, saboda haka muna ba da shawarar ku san kanku da shi.

  1. Bude na'ura wasan bidiyo da saukar da sabon sashi na 7z daga wurin ajiyar kaya ta shigar da umarninsudo dace kafa p7zip-full, kuma Red Hat da masu mallakar CentOS zasu buƙaci sakawasudo yum shigar p7zip.
  2. Tabbatar da ƙarin sababbin fayiloli zuwa tsarin ta zaɓin m zaɓi.
  3. Matsa zuwa babban fayil inda aka adana kayan tarihin, kamar yadda aka nuna a cikin hanyar da ta gabata ta amfani da umarnincd. Anan, duba abubuwan da ke cikin abu kafin cire kaya, rubutu a cikin na'ura wasan bidiyo7z l babban fayil.zipina babban fayil.zip - sunan kayan tarihin da ake buƙata.
  4. Kan aiwatar da rashin zuwa babban fayil na yanzu ana gudana ta hanyar7z x babban fayil.zip.
  5. Idan wasu fayiloli masu sunan iri ɗaya sun riga sun kasance a can, za a miƙa su don maye gurbin ko tsallakewa. Zaɓi zaɓi bisa zaɓinka.

Kamar yadda yake game da Unzip, 7z yana da ƙarin ƙarin takaddun gardama, muna kuma ba da shawarar cewa ku fahimci kanku da manyan abubuwan:

  • e- cire fayiloli tare da hanyar (lokacin amfanixhanyar ta zama iri daya);
  • t- bincika kayan tarihin don aminci;
  • -p- nuni kalmar sirri daga gidan ajiyar kaya;
  • -x + jerin fayil- kar a saki abubuwan da aka ƙayyade;
  • -y- Cikakken amsoshi ga duk tambayoyin da aka yi yayin tashin hankali.

An karɓi umarni akan amfani da kayan masarufi guda biyu don buɗe ZIP a Linux. Bada kulawa ta musamman ga ƙarin muhawara kuma kar ka manta da amfani dasu idan ya cancanta.

Pin
Send
Share
Send