Rclone ์๊ฒฉ ๋ฐฑ์ ํด
Install $ sudo apt install rclone $ rclone --help $ rclone config n/s/q> n name> gdrive # rclone ์ฌ์ฉ์ ์๊ฒฉ์ง ๋๋ผ์ด๋ธ ์ด๋ฆ์ผ๋ก ์ฌ์ฉ Storage> 13 # google client_id> Enter client_secret> Enter scope> 1 root_folder_id> Enter service_account_file> Enter Edit advanced config?> n Use auto config? n # ์ถ๋ ฅ๋ url์ ๋ณต์ฌํ์ฌ ๋ธ๋ผ์ฐ์ ์ ์ ๋ ฅํ๊ณ ์น๋ฝํ๊ธฐ # ์น๋ฝํ ํ ๋ฐ์ key๋ฅผ ๋ณต์ฌ Enter verification code> key์ ๋ ฅ Configure this as a team drive? n y) Yes this is OK (default) y q # ๋๋ด๊ธฐ Usage ๊ธฐ๋ณธ ์ฌ์ฉ๋ฒ: ์ธ์ธํ ์ต์ ์ด ๋ง์ง๋ง ํ๋ฆ์ ์์ง ๋ง์. ํ์ํ๋ฉด ๊ด๋ จ ๋ฌธ์ ์ฐธ์กฐ. $ rclone ls gdrive: # list google drive files only $ rclone lsl gdrive: # list -l google drive files only $ rclone lsd gdrive: # list google drive folders $ rclone copy file1 gdrive: # copy file1 to gdrive: $ rclone copy dir1 gdrive: # copy dir1/* to gdirve: # ๋๋ ํ ๋ฆฌ๋ด ํ์ผ๋ณต์ฌ $ rclone copy dir1 gdrive:dir1 # copy dir1 to gdirve:dir1 # dir1 ๋๋ ํ ๋ฆฌ๋ณต์ฌ $ rclone delete gdrive:file1 # remove gdrive:file1 $ rclone delete gdrive:dir1 # remove gdrive:dir1 $ mkdir ~/gdrive $ rclone sync gdrive: ~/gdrive/ # sync google drive to local ~/gdrive $ rclone sync ~/gdrive gdrive: # sync ~/gdrive to google drive $ rclone sync -i ~/gdrive gdirve: # interactive mode $ rclone sync -P ~/gdrive gdirve: # view real-time transfer statistics $ rclone bisync ~/gdrive gdirve: # bidirectional sync between two paths # new, Newer, and Deleted files Mount $ rclone mount gdrive: ~/google-drive & $ ls ~/google-drive Crypt - ์ํธํ gdrive: ๋ด์ ํน์ ํด๋๋ฅผ ์ํธํํด์ gdrive๋ด์์๋ ๋ด์ฉ์ ๋ณผ ์ ์๊ณ ์ค์ง local์์๋ง ๊ฐ๋ฅํ๋ค. ๊ฐ์ธ์ ๋ณด๋ฅผ ๋ณด๋ค ์์ ํ๊ฒ ๋ณด๊ดํ ์ ์๋ ๋ฐฉ๋ฒ์ด๋ค. ...