Skip to content

Instantly share code, notes, and snippets.

@mauriciopazpp
Last active August 28, 2020 18:43
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
rclone google drive
##Sync google drive to local:
### This command will copy all files from google drive to local drive, if you delete a file from Google Drive, the file on your local will be deleted.
```
rclone sync GoogleDrive:/ /mnt/7B40D3947E61F989/GoogleDrive/
```
### [DANGEROUS!!!] This command will copy all files from your local and move to your Google Drive. If the file does't exist on your local, the file will be delted on your google drive!!!!
```
rclone sync /mnt/7B40D3947E61F989/GoogleDrive/ GoogleDrive:/
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment