Thola bese ususa amafayela ayimpinda kusistimu yakho nge-duff

Labo abangithandayo bathanda ukuqoqa imininingwane ethile (njengamaphephadonga we-HD, njll) sinenkinga yokuthi ngokuhamba kwesikhathi siqala ukuba nemininingwane eyimpinda kusistimu yethu, isibonelo esijwayelekile kungaba iphepha lodonga leLinux eliphindiweifayela ngalinye elinegama elehlukile). Inkinga yangempela ingahle ingabi isikhala kepha i-oda lokucindezela ngokweqile njengami; asikwazi nje ukuzola nokuthula sazi ukuthi kukhona okungahambi kahle, okuphindiwe, okungalungile eqoqweni lethu eliyigugu 😀

Ngenhlanhla ku-Linux kuhlale kunethuluzi lokuxazulula izinkinga zethu, kuleli cala lamafayela ayimpinda esinayo isoftware: duff

Ungayithola endaweni yakho yokugcina, kuma-distros afana ne-Debian noma ngokususelwa kuyo okulula: sudo apt-get install duff kuzokwanela ukuyifaka, ku-ArchLinux engicabanga ukuthi iyikho sudo pacman -S duff

Lapho sesiyifakile, ukuyisebenzisa kulula kakhulu, ngokwesibonelo ngizobheka wonke amafayela ayimpinda kufolda yami Isithombe (/ ikhaya / kzkggaara / Izithombe /):

duff -r  /home/kzkggaara/Pictures

Ipharamitha -r kungenxa yokuthi isesha iphindaphinda bese ihlala kuphela ukuze ichaze ukuthi iyiphi ifolda okufanele iseshe, kulesi sibonelo / ekhaya / kzkggaara / Izithombe

Lokhu kuzokukhombisa okufana nalokhu:

Njengoba ukwazi ukubona, kusitshela ukuthi kukhona amafayela ayi-2 ayimpinda ku- Izithombe / ama-Paisajes / ama-Landscapes + Aluhlaza / futhi namafayela amabili ayimpinda ku- Izithombe / Mangas / Naruto / Sharingans /

Le yingxenye encane nje yesikrini sonke… ngibonile nje ukuthi nginamafayela amaningi ayimpinda 0_oU

Manje umbuzo ubuziwe: Ungawasusa kanjani amafayili ayimpinda?

Ngomyalo olandelayo, izoseshela wonke amafayela ayimpinda futhi isuse elinye lawo, okungukuthi, ngamafayela amabili afanayo ... elilodwa lawo lizosuswa:

duff -e0 -r /home/kzkggaara/Pictures/ | xargs -0 rm

Lo myalo ngiwuphinda, uzosusa amafayela aphindwe kabili asenkombeni oyikhombayo, ngaso sonke isikhathi eshiya ifayili eli-1 kuphela lawo wonke amanye angahle afane.

Ngisahlola inhlanganisela yomyalo engaba wusizo nge-duff… xargs, kanye naku man duff ufunda ukuthi ungawenza kanjani ngokwezifiso umkhiqizo wakho, ngincoma ukuthi ufunde usizo lwe-duff 🙂

Noma kunjalo, akukho okunye okuningi ongangeza okwamanje, ngiyethemba uthole lo myalo ulusizo 😀

Phendula ngokucaphuna


Okuqukethwe yi-athikili kunamathela ezimisweni zethu ze izimiso zokuhlelela. Ukubika iphutha chofoza lapha.

Amazwana ayi-27, shiya okwakho

Shiya umbono wakho

Ikheli lakho le ngeke ishicilelwe. Ezidingekayo ibhalwe nge *

*

*

  1. Ubhekele imininingwane: Miguel Ángel Gatón
  2. Inhloso yedatha: Lawula Ugaxekile, ukuphathwa kwamazwana.
  3. Ukusemthethweni: Imvume yakho
  4. Ukuxhumana kwemininingwane: Imininingwane ngeke idluliselwe kubantu besithathu ngaphandle kwesibopho esisemthethweni.
  5. Isitoreji sedatha: Idatabase ebanjwe yi-Occentus Networks (EU)
  6. Amalungelo: Nganoma yisiphi isikhathi ungakhawulela, uthole futhi ususe imininingwane yakho.

  1.   umagazine kusho

    Ngibonga ithiphu mfowethu, ungakwazi yini esikhathini esizayo ukwenza okunye okuthunyelwe kokuthi ungasebenzisa kanjani "ama-xargs"?

    Gracias!

    1.    KZKG ^ Gaara kusho

      Angisona isazi sama-xargs, ukuyichaza kalula (kalula nje), ama-xargs akuvumela ukuthi wenze imiyalo ngokudlulisa umphumela noma umphumela walokho okwake kwenziwa phambilini njengepharamitha (okungukuthi, yini ephambi kwepayipi noma | )

    2.    isihlibhi kusho

      Imininingwane eyodwa, njalo lapho usebenzisa ama-xargs zama ukuyithumela idatha ngaphandle \ ngaphandle kokudlula -0 bese uthola kuma-xargs nge -0 lokhu kubaluleke kakhulu kumagama wamafayela aqukethe isikhala esifana ne- "my file is this.mp3".

      Isibonelo nge find.

      thola -igama "ukususa" ./ -print0 | ama-xargs -0 rm

  2.   ikati kusho

    ngiyabonga ngendatshana, kwesinye isikhathi kunama-desktop athile (ikakhulukazi iwayini) aphindaphindiwe

    1.    KZKG ^ Gaara kusho

      Ubumnandi 🙂

      1.    ikati kusho

        Ngiyakusebenzisa ukucacisa ukuthi ku-Arch nakwezinye izinto ezifakiwe kufakwe i-yaourt, hhayi nge-pacman

        1.    umagazine kusho

          Siyabonga ngokucaciswa: D!

  3.   Joaquin kusho

    Muy bueno!
    Kungezwe ekuqoqweni kwamathuluzi akhethekile 🙂

    1.    KZKG ^ Gaara kusho

      Ngiyabonga ngamazwana 😀

  4.   UCarper kusho

    Umnikelo omuhle, ngiyabonga kakhulu XD.
    Phendula ngokucaphuna

    1.    KZKG ^ Gaara kusho

      Ngiyabonga ngokuphawula 🙂

  5.   F3niX kusho

    Kuhle. Ngizozama ukususa ama-mp3s aphindaphindiwe kuqoqo lami le-100gb uu

    1.    KZKG ^ Gaara kusho

      Siyabonga ngokuphawula, sikufisela inhlanhla 🙂

  6.   UBlaire pascal kusho

    Ukufakwa okuhle, njengokujwayelekile. Ngiyabonga.

    1.    KZKG ^ Gaara kusho

      hahaha ngiyabonga, ngihlala ngizama ukubeka izinto ezimnandi 😉

  7.   VulkHead kusho

    Umnikelo omuhle kakhulu .. Ngiyabonga!

    1.    KZKG ^ Gaara kusho

      Ngiyabonga ^ - ^

  8.   jems kusho

    Ngizoqala ukusula wonke amafayela ami ayimpinda kudiski lami eligcwalisiwe, ngithemba ukukhipha cishe i-10Gb,

  9.   nxumalo kusho

    Ohh ngiyabonga kakhulu lokhu kuzongisiza kakhulu emsebenzini wami 😉

  10.   u-albert I kusho

    Ngiyabonga kakhulu ngokwethula izinhlelo ezincane ezixazulula izinkinga ezinjengalezi, ezivame kakhulu kubasebenzisi be-intanethi

    1.    KZKG ^ Gaara kusho

      Ngiyabonga ngokufunda nokuphawula kwakho.

      Phendula ngokucaphuna

  11.   kuk kusho

    lokhu kwangihlanyisa> _ <ngiyabonga !!!

  12.   Joan kusho

    Ngiyabonga kakhulu ukuthi ngibe nomdlandla ngezithombe eziyimpinda ebengingazi ukuthi ngenzeni !!!!
    ngiyabonga

  13.   alejandro kusho

    Uxolo, ngizamile i-duff ukususa amafayela ayimpinda nge-syntax oyibonisayo kodwa okukhiphayo esigungwini kungitshela ukuthi i-rm operand ayikho
    Ngibhala into enjengale esigungwini:
    duff -e0 -r / media / alejandro / ukusekela / imitapo yolwazi / ebooksepub / | ama-xargs -0 rm
    futhi ngithola lokhu: rm: i-operand ayikho
    Zama i- 'rm –help' ukuthola eminye imininingwane

    Ngicela ungitshele opharetha lapho, njengoba kwenzeka kimi, kumayelana nokususa izinkulungwane zamafayela ayimpinda kulabhulali yami ye-epub?

    1.    KZKG ^ Gaara kusho

      Zama ukubeka i-rm -R ekugcineni

      1.    alejandro kusho

        Siyabonga ngokunaka kwakho, kodwa ngeshwa isiphakamiso sakho asisebenzi, ngikukhombisa okukhiphayo:
        alejandro @ alejandro-ubuntu-mate-1504: ~ $ duff -e0 -r / media / alejandro / backup / libraries / ebooksepub / | Ama-xargs -0 rm -R
        rm: i-operand ayikho
        Zama i- 'rm –help' ukuthola eminye imininingwane.

  14.   hector kusho

    Ithiphu enhle.
    inkinga nge-rm operand ukuthi akudingeki ukuthi isuse. uma umyalo wenziwa ngaphandle kwepayipi, kuyaqinisekiswa ukuthi azikho izimpinda.
    imikhonzo