標籤

二元樹 (1) 字串常數池 (1) 投資 (3) 每月損益 (37) 例外處理 (1) 泛型 (2) 股票 (15) 指標 (5) 英文 (8) 基本資料型別 (1) 期貨 (1) 程式交易 (10) 量化投資 (5) 亂亂寫 (3) 概念 (3) 資料結構 (3) 演算法 (3) 數學 (3) 轉型 (1) AMA (1) ArrayList (1) assert (1) BeautifulSoup (1) C/C++ (8) casting (1) ClassCastException (1) classpath (1) Collection (4) Comparable (1) comparTo() (1) constructor (1) database (3) Debian (1) Dropbox (2) EA (2) enum (1) equals() (2) exception (3) extends (1) ffmpeg (1) final (1) Git (1) HashMap (1) HashSet (1) hasNext() (1) HTS (3) instanceof (1) IS-A (1) Iterator (1) JAVA (43) length (1) Linux (31) List (1) Mac (6) Map (1) ML (2) MT4 (6) MySQL (2) next() (1) NullPointerException (1) Number (1) Numpy (2) OpenCart (1) OpenCV (3) OSX (1) overloading (1) overriding (3) pandas (2) PHP (8) PriorityQueue (1) Python (11) Queue (1) random() (1) reverse() (1) Samba (1) SCJP (21) sqrt() (1) synchronized (1) talib (1) ufw (1) uTorrent (1) var-args (2) VHF (1) vim (2) Yhoo知識+ (4)

2013年10月29日 星期二

於Ubuntu同步Google硬碟

安裝 Grive

$sudo add-apt-repository ppa:nilarimogard/webupd8
$sudo apt-get update
$sudo apt-get install grive

/*
原始碼編譯安裝也可以,首先安裝一些必要套件:
$sudo apt-get install cmake build-essential libgcrypt11-dev libjson0-dev libcurl4-openssl-dev libexpat1-dev libboost-filesystem-dev libboost-program-options-dev binutils-dev

Grive下載原始碼,或直接使用 wget 下載:
$wget http://www.lbreda.com/grive/_media/packages/0.2.0/grive-0.2.0.tar.gz
$tar xvfvz grive-0.2.0.tar.gz
$cd grive-0.2.0
$cmake .
$make
$sudo make install

*/

安裝完成之後,第一次執行:
mkdir ~/google_drive
cd ~/google_drive
grive -a


然後打開連結,按確定,就會出現一個授權碼,再貼回終端機裡,按下 Enter 鍵,就會開始下載GoogleDrive裡的資料。


使用 Grive 進行同步

command進GoogleDrive的資料夾,輸入grive,就會自動同步了.


參考自

沒有留言:

張貼留言