Kuwana kweDropbox kubva kuLinux terminal uye kuburikidza neapp

Dropbox logo

Kusvikira nguva isiri yapfuura, iko kunyorera kwe Dropbox Yaingowanikwa chete yeWindows, Mac OS X uye Anrdoid, ichifanira kugutsikana newebhu vhezheni yegore yekuchengetedza sevhisi. Asi ikozvino kwatova .deb uye .rpm mapakeji e32-bit uye 64-bit Linux kugoverwa. Iko kune zvakare tarball nekodhi kodhi yekuisanganisa uye kuiisa pane chero kugoverwa kweLinux. Kana iwe uchida kuisa iyo Dropbox application kuishandisa kubva kuLinux, unogona kuwana iyo dhawunirodhi nzvimbo yewebhusaiti yepamutemo uye tsoka.

Nekudaro, pane imwe sarudzo yekuwana Dropbox kubva kuLinux kugovera uye izvo zviri kuburikidza nekoni. Kana isu tichida kushandisa iyo yekuchengetedza gore sevhisi uye isu tisingade kumisikidza yepamutemo kana isiri yeDropbox graphic vatengi, iyi ichave iri nzira yakanakisa yekuzviita. Iko kune yekuraira mutsara wakavakirwa mutengi (CLI) iyo yakanyorwa mumutauro we scripting uye inogona kushandiswa mu bash.

Kuti tishandise, isu ticha dhawunirodha script uye tigoita kuti iitwe nekunyora zvinotevera:

chmod +x dropbox_uploader.sh

Kuti uwane, isu tinongoshandisa rairo iyo inoita script:

 ./Dropbox_uploader.sh

Ipapo ticha https://www.dropbox.com/developers/apps uye isu tinogadzira account nyowani. Kuti uite izvi, tinya paGadzira App uye zadza data rakakumbirwa. MuZita reApp tichaisa zita ratiri kuda kupa kuchishandiso, semuenzaniso "db_up". Mukutsanangurwa tinokunyorera iwe tsananguro pfupi yechinangwa cheapp. MuKuwanika kana isu tichida kuti App igone chete kuwana iyo folda (App dhairekitori), kana kune vese (Yakazara). Pakupedzisira tinodzvanya bhatani reGadzira uye tichava neakaundi nyowani yakagadzirira. Cherekedza iyo kiyi yeApp, App chakavanzika uye Rudzi rwekuwana, sezvo izvi ndizvo izvo script ichatibvunza. Ramba uchifunga kuti mune iyo script, painobvunza mhando yekuwana (Kuwana), iwe unofanirwa kuisa A mune kana ukasarudza App dhairekitori kana F kuitira kuti Uzere.

Iye zvino zvinotipa kero yatinofanira kupinda mubrowser iyo inotibvunza isu data reDropbox account yedu kubvumidza iko kunyorera. Paunenge wapedza, pinda ENTER mune terminal uye script ichagadziriswa. Kana tikaenda ku / kumba / dhairekitori remushandisi tichaona kuti faira rakavanzika rinonzi .dropbox_uploader rakagadzirwa nedata rakapinda.

Kana zviri zvekushandisa, zviri nyore, isu tinonyora mune terminal tambo yekuita iyo script inoteverwa nemirairo yatinoda (kurodha pasi, kurodha pasi, kudzima, rondedzero, info, unlink, ...) pamwechete nematanho:

./dropbox_uploader.sh comando [parámetros]

 Ngatitarisei mimwe mienzaniso:

./dropbox_uploader.sh download Canciones/Romáticas/13-Princesa.mp3
./dropbox_uploader.sh upload /home/usuario/cuentas.txt
./dropbox_uploader.sh delete Fotos/Madrid/2008
./dropbox_uploader.sh list Recetas
./dropbox_uploader.sh info
./dropbox_uploader.sh unlink

 Kuti uwane rumwe ruzivo iwe unogona kuverenga iyo README faira inouya neiyo script yawakadhinda. Ndinovimba ichakubatsira.

Mamwe mashoko - Kopa: nyowani yekuchengetedza gore sevhisi inowanikwa yeLinux


Izvo zviri muchinyorwa zvinoomerera pamisimboti yedu ye tsika dzekunyora. Kuti utaure chikanganiso tinya pano.

Iva wekutanga kutaura

Siya yako yekutaura

Your kero e havazobvumirwi ichibudiswa.

*

*

  1. Inotarisira data: AB Internet Networks 2008 SL
  2. Chinangwa cheiyo data: Kudzora SPAM, manejimendi manejimendi.
  3. Legitimation: Kubvuma kwako
  4. Kutaurirana kwedata
  5. Dhata yekuchengetedza: Dhatabhesi inobatwa neOccentus Networks (EU)
  6. Kodzero: Panguva ipi neipi iwe unogona kudzora, kupora uye kudzima ruzivo rwako