Nge-Terminal: Thola bese ukopisha uhlu lwamafayela

Sanibonani nonke bafundi 😀

Ngemuva kweholide elihlulekile, ngiyazibhalela ukubhala le migqa. Kuvela ukuthi isidlali sami se-3gb mp32 sonakele futhi okuwukuphela kwendlela yokuyitholela ukusifometha, lokho akuyona inkinga, okungisongele kakhulu ukucabanga ngesikhathi okuzothatha kimi ukukhetha nokukopisha iqoqo lomculo ebenginalo ukunambitheka okungaka kwakwenzile.

Kulokho ngakhumbula ukuthi i-terminal ingaba namandla kangakanani kulawa macala nangemva kwemizuzu embalwa yokufunda imibhalo (Angiyena umhlabeleli kubash I) Ngifinyelele kule ndlela:

1. Ngenze uhlu ngawo wonke amafayela akudlali:

dir / media / musicplayer> umculo_list

2. Ngemuva kokwenza lolo hlu, sisebenzisa umyalo olandelayo:

 ikati music_list | ngenkathi ifundwa f; thola. -igama "$ f" -exec cp {} / media / musicplayer \ ;; kwenziwe

cat funda uhlu, bese thola uphethe ukubabheka futhi ekugcineni cp ikopisha kufolda yendawo oya kuyo, ngomjikelezo kuze kufundwe umugqa wokugcina wefayela.

ne-voila!

Indlela i-console esebenza ngayo ihamba, angithi?

Nginesiqiniseko sokuthi singasiza emisebenzini ekhiqizayo (futhi engasho lutho kunesidlali sami hahaha), futhi-ke zizoba khona ezinye izindlela zokufinyelela umgomo ofanayo (mhlawumbe usebenzisa rsync o ama-xargs) kepha kwabonakala kimi ukuthi le kwakuyindlela elula yokukufeza.


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

Amazwana ayi-46, 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.   izinga kusho

    Hawu! Kuhle 😀

  2.   I-Vampii kusho

    Ehhh…. »Dir» ???? Ufunde kahle futhi usebenzise umyalo "dir"? WTF !!! Umyalo uthi "ls" ... I-DIR ngumyalo we-DOS hhayi * nix (noma i-GNU / Linux) ... Ngiyazi ukuthi nginguSlacker wakudala kepha alikho iphutha lapho?

    Konke okunye, kuhle kakhulu! indlela enhle yokuvilapha, ukusebenzisa ikhonsoli

    1.    eliotime3000 kusho

      Siyafana ngaleso sikhathi se-DIR, ngoba ku-POSIX LS isetshenziswa esikhundleni sayo.

      Ukwenza iphutha kungokwabantu.

    2.    pepe kusho

      `indoda dir`

      1.    izinga kusho

        Impela. I-DIR ikhona futhi ekunikezelweni kwethu

    3.    izinga kusho

      Eqinisweni, lapho ngigijima:

      man dir

      Bheka engikutholayo ekugcineni:

      UMBHALI Ibhalwe nguRichard M. Stallman noDavid MacKenzie.
      1.    I-Giskard kusho

        Bheka wena! Kepha lokho kusanda kwenzeka, akunjalo? Ngoba eminyakeni embalwa eyedlule, lapho ngiqala ukusebenzisa iLinux, ngangijwayele ukubhala i-dir esikhundleni se-ls ngaphandle komkhuba futhi ngapenda eyodwa!

      2.    eliotime3000 kusho

        Ngikhipha engikushiya ku-DIR.

    4.    helena_ryuu kusho

      Bengizisho ngokwami, ngingu-n00b ophelele ku-bash xDDD ngiyaxolisa uma ngikucasulile ngo-dir hahaha, empeleni, ngiyazi ukuthi bekuyi-ls, kepha ngaleso sikhathi ngikhumbule ukusho nje ... bekuwuhlu lwamafayela nje 😛

      1.    eliotime3000 kusho

        Ungakhathazeki. Ngendlela efanayo, angiphindaphindeki kangako kubash, ngakho-ke sesiseduze.

        1.    eliotime3000 kusho

          Futhi, ngiphakamisa ukuthi uzame i-Iceweasel (iku-AUR futhi ilogo yinhle kuneyeFirefox).

          🙂

          1.    helena_ryuu kusho

            Ngizozama ^ ^

          2.    izinga kusho

            Ekugcineni kuyefana. Kungani kufanele ufake i-Iceweasel lapho sesivele sineFirefox ezinqolobaneni?

          3.    Ikhukhi kusho

            U-Eliot, uyefana neFirefox kodwa unophawu olubi ¬¬ bese ukwahlukana kuku-AUR

          4.    eliotime3000 kusho

            @cookie:
            Kuya ngokuthi uyibona kanjani, ngoba kuze kube manje angikayiboni inguqulo entsha yelogo ye-Iceweasel enomklamo "oyisicaba" noma enenketho yokuthumela idatha yami eMozilla ukubona ukuthi isebenza kahle noma cha.

            Ukuthi ilogo ye-Iceweasel ongayithandi kulungile, ngiyasihlonipha isinqumo sakho.

      2.    U-Sam burgos kusho

        Ungakhathazeki ngokuthi ukushintshana nokwephula ikhanda lakho nge-bash awusafuni ukwenza izinto ngezinye izilimi ngoba awukwazi ukuthola lapho 😀 (icala lami elithile), ngaphandle kwalokho kuhle ukukusebenzisa ukusebenza kuma-distros amaningi

        Ngokuqondene neskripthi sakho, ngithathe inkathazo ukuyilungisa kahle ngayibeka ku-pastebin, yize ngithanda ukwazi amapharamitha athile ukuthi enzelwe ini ngoba angiwaqondi kakhulu (ngizophenya lapho ngikhona ekhaya ngoba emsebenzini wami ngiboshwe izandla nezinyawo)

        Iskripthi -> http://pastebin.com/3c1zwS5y

        1.    helena_ryuu kusho

          Ngempela, uwushiye ucocekile ngokwengeziwe, bengizokwenza kanjena, kepha…. ngasizathu simbe ngiyakhumbula amalungiselelo (angakanani angenza ngihlupheke ekilasini lohlelo) ngakho-ke kungcono ngikushiye kulayini owodwa hahaha

          1.    U-Sam burgos kusho

            Yebo, kuyasiza uku-oda amakhodi ngoba uma kungenjalo kunzima ukuwaqonda kamuva (njengombhali / umhlaziyi / umqambi wobuhlungu obukhulu futhi ngikutshela ngokuhlangenwe nakho kwami)

            Futhi okunye okunye nge-bash engikunikeza ukusiza ngenjabulo, angiyena umphathi walokho futhi, kodwa ngezilimi engithanda ukuzisebenzisa (nokuthi nginothuli kakhulu: P) lokho kungenye yazo, yize kumuntu, okuthiwa, ungumqali ku bash ungishiyile ngicabanga ukuthi ikhodi uqobo lwayo yenzani 😉 😛

    5.    haobaobatusai kusho

      test ngokusebenzisa dir

    6.    ecnomus kusho

      Alikho iphutha, futhi ungasebenzisa umyalo we-DIR ku-Linux kungaba yinhle ukusebenzisa i-LS kepha ukuthola uhlu lwamafayela we-DIR kulungile ngoba njengamanje ukusatshalaliswa okuningi kune-alias dir = 'ls -l ngokuzenzakalela.

  3.   eliotime3000 kusho

    Ngithande ithiphu. Ngiyethemba ukuthi kuzobhalwa izifundiswa eziningi ngokusetshenziswa okuningi kwekhonsoli ye-GNU / Linux, edlula ngokweqile iWindows eyodwa.

    1.    KZKG ^ Gaara kusho
      1.    eliotime3000 kusho

        Ukwabelana nokwengeza kuzintandokazi.

  4.   D. Adrian kusho

    Uxolo ngokungazi kwami, kepha iqiniso ukuthi angiqondanga cishe noma yini: umyalo wokuqala, i-dir, wenza uhlu lwamafayela angaphakathi kwifolda, bese, ngokwalokho engikuqondayo, okutholakele kusesha ngakunye lawo amafayela achazwe kulolo hlu bese uwafaka kwelinye ifolda. Ngiyabuza, kungani udinga ukuwafuna uma sengivele ngazi ukuthi bakwi / media / isidlali somculo, futhi kwanele ukukopisha leyo folda kwenye indawo.
    Ngeke kube ukuthi ku / media / isidlali somculo kunezinhlobo zonke zamafayela futhi ngifuna ukuwathola, ake sithi, ama-mp3 kuphela bese siwakopisha siye kolunye uhlangothi?
    Uma othile engachaza kangcono ukuthi yini inkinga nokuthi yini engifuna ukuyenza?
    Ngiyabonga ungixolele.

    1.    helena_ryuu kusho

      Njengoba usho, uma kulula ukukopisha amafayela uye kolunye uhlangothi, inkinga ebenginayo ukuthi amafayela abengafundeki, ku-linux, naku-windows, ngakho-ke bekufanele ngifomathile kuphela 😛, bese ngiyigcwalisa futhi ubuvila, ngaleso sizathu.
      Ngokuqondene nokushoyo ngokusefa, ngicabanga ukuthi kufanele ungeze ifulegi le -o ne --name kumyalo wokuthola, into enjengale:
      thola. \ (-name '* .jpg' -o -name '* .png' -o -name '* .JPG' -o -name '* .PNG' -o -name '* .JPEG' -o -name ' * .jpeg '\)
      uma kunjalo bekungahlunga kuphela i- * .jpg, * .JPG, * .png, * .PNG, * .jpeg kanye * .JPEG amafayela

  5.   hexborg kusho

    Halala. Usebenzise i-terminal njengoba kuhloswe ukuthi isetshenziswe ngempela.

  6.   UDcoy kusho

    Izimpilo zethu zingaba yini ngaphandle kwekhonsoli enamandla: .

  7.   Wadlula lapha kusho

    kuhle kakhulu, nginakho
    alias lalela = 'echo "$ (thola $ (pwd) -igama" * .MP3 ″) "| xargs -n1 -I aa ln -s "aa" $ IKHAYA / lalela / '

    1.    davidlg kusho

      ifana kakhulu naleyo engiyisebenzisayo, ukuhambisa amafayela aqediwe ukudluliswa
      [ikhodi] thola -igama "* .avi" | xargs -i mv {} / home / wizord / Videos /
      [/ ikhodi]

  8.   U-Uriel kusho

    Uxolo ngokungazi, kepha nami angikuqondanga uku-oda ngakho-ke angazi noma kuyasebenza kulokho engifuna ukukwenza.
    Nginesizukulwane sesi-160 esingu-6gb iPod, okuthi kusukela lapho ngifuna ukwenza ibhekhaphu kungakephuzi, kepha angazi noma ngabe yini oyibhalayo ngingahlukanisa umculo ngokuvumelana nohlu lwadlalwayo, ngoba kunezingoma eziningi Igama elifanayo kepha kuma-albhamu ahlukile noma abaculi, ngingakwazi ukuzichaza? yingakho ngingeke ngikwazi ukukopisha ama -mp3s kwifolda eyodwa ngoba izongqubuzana nezingoma ezinegama elifanayo. Ngingakwazi ukwenza isipele sami ngemiyalo oyiphakamisayo noma ngabe kukhona okunye okunye?
    Ngiyethemba ungangisiza, ngiyabonga !!

    ps: Bengicabanga ukufaka iRockbox kuyo, kepha ayihambelani ne-ipod yami ngokusho kwekhasi lonjiniyela
    i-pd2: i-gtkpod ngokusobala futhi ikopisha kuphela i-.mp3 ngaphandle kwe-oda, noma mhlawumbe bengingazi ukuthi ngikwenze kanjani.

  9.   truko22 kusho

    Kuhle 😀

  10.   eliotime3000 kusho

    Yebo, wonke umuntu ukhululekile ukusebenzisa isiphequluli asifunayo.

    Ngisebenzisa i-Iceweasel ku-Debian negatsha lokukhishwa le-mozilla.debian.net, futhi angiphikisani nalabo abasebenzisa leso siphequluli.

    Ngiphakamise kuphela ukuthi u- @helena azame i-Iceweasel ngoba i-Iceweasel iyikhomba ngokuba ne-logo enhle (iningi elingayithandi), kepha ungethuki.

    Noma kunjalo, ngisebenzisa i-Iceweasel ku-Debian ngoba ngiyenqena ukufaka iFirefox futhi sengivele ngineFirefox kuSlackware futhi isebenza kahle.

    1.    izinga kusho

      Kucacile. Engikushoyo ukuthi iFirefox isivele ifakiwe endaweni yokugcina izinto. I-Iceweasel kuzofanele ifakwe ku-AUR nazo zonke izingozi ezibandakanya lokhu.

      1.    eliotime3000 kusho

        Ah kuhle. Vele, kungakuhle ukuthi esikhundleni seFirefox ngifake Iceweasel, ngoba ngizamile ukuba nazo zombili iziphequluli, kepha zombili azikwazi ukusebenza ngasikhathi sinye.

        Lapho nje ngiqeda ukuzama iSlackware, ngizokwenza umshini obonakalayo lapho ngizofaka khona i-Arch ne-Iceweasel kanye ne-interface engasindi (XFCE noma i-LXDE).

    2.    helena_ryuu kusho

      [okungekho sihloko]
      hahaha akunankinga, ngiyazi ukuthi ekupheleni kosuku, yi-firefox nenye ilogo, futhi kuyiqiniso, ise-aur, engaba yingozi ngandlela thile, iqiniso ukuthi i-crunchbang ifakiwe kwi-PC kadadewethu (futhi ende iceweasel) futhi empeleni ilogo iyi-kawaii ^^ Angiqondi ukuthi kungani omunye umuntu engayithandi ~ _ ~
      [/ off-sihloko]

      1.    eliotime3000 kusho

        Ngiyayithanda i-logo ye-Iceweasel. Okungenani ngijabule ngezinsuku abangiphendule ngazo ngabhekisa phansi.

  11.   eliotime3000 kusho

    Uxolo ngesihloko esingekho, kepha ukuphawula okuvela ku-Opera Mini kunzima impela.

    1.    si84 kusho

      kungaphatheki kahle, kepha kuthuthukisiwe ngoshintsho kumazwana abekiwe.

  12.   pepe kusho

    buhlungu

  13.   Emmanuel kusho

    Ithiphu lingaphezu kokuthakazelisa futhi liwusizo, kepha, kungenzeka yini ukuthi lenziwe ngendlela yokuthi ligijime njalo lapho kufakwa i-usb? 😮
    Kungakuhle ukuvumelanisa amafolda athile ku-USB nohlelo.
    Ukubingelela nokunikela okuhle kakhulu.

  14.   Mauricio kusho

    hahaha, nokuthi awunguyebob ku-bash.

    Kungezinye zezizathu zokuthi kungani ngithandane ne-terminal, ngenxa yendlela engizenza ngayo ezinye izinto laphaya ngokushesha okukhulu.

    1.    eliotime3000 kusho

      Futhi lokho kuyiqiniso. Futhi, kungcono kakhulu kune-Windows console.

  15.   UPepe Lopez kusho

    Ithiphu enhle kakhulu. Ngiyayigcina.

  16.   inyosi kusho

    Ngiyabonga ! … Ngosizo olukhulu!

  17.   Rey kusho

    Othile unefayela le-bash engilikopisha kusuka ku-linux ikheli elilandelayo /var/log/apt/history.log ekhelini elikumawindi D: / Kopisha umlando wefayela.log

  18.   Rey kusho

    Othile unefayela le-bash engilikopisha kusuka ku-linux ikheli elilandelayo /var/log/apt/history.log ekhelini eliku-windows D: / Kopisha umlando wefayela.log ngicela ulithumele ku-imeyili yami rey79cm@gmail.com