Ubuntu – Are there any simple app to sync a folder with google drive

command linegoogle-drive

I have a folder where i save my scripts, netbeans projects i write etc. Im tired of uploading it after every new project or every edits i make. I saw some clients but i dont want to use them.

Is there a simple command line tool where i just can pick a folder and syncs it?

Best Answer

Try rclone

sudo apt install rclone

to configure:

rclone config

Rclone is a command line program to sync files and directories to and from many platforms including Google Drive. See the official site for a full list.

Features

  • MD5/SHA1 hashes checked at all times for file integrity
  • Timestamps preserved on files
  • Partial syncs supported on a whole file basis
  • Copy mode to just copy new/changed files
  • Sync (one way) mode to make a directory identical
  • Check mode to check for file hash equality
  • Can sync to and from network, eg two different cloud accounts
  • Optional encryption (Crypt)
  • Optional cache (Cache)
  • Optional FUSE mount (rclone mount)
Related Question