Skip to content

Instantly share code, notes, and snippets.

@mauriciopazpp
Last active August 28, 2020 18:43
Show Gist options
  • Save mauriciopazpp/dda12d321e56707f80886adcce42908f to your computer and use it in GitHub Desktop.
Save mauriciopazpp/dda12d321e56707f80886adcce42908f to your computer and use it in GitHub Desktop.
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