Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

26
gdrive Normal file
View File

@@ -0,0 +1,26 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# gdrive
> Interact with Google Drive.
> Folder/file ID can be obtained from the Google Drive folder or ID URL.
> More information: <https://github.com/gdrive-org/gdrive>.
- Upload a local path to the parent folder with the specified ID:
`gdrive upload -p {{id}} {{path/to/file_or_folder}}`
- Download file or directory by ID to current directory:
`gdrive download {{id}}`
- Download to a given local path by its ID:
`gdrive download --path {{path/to/folder}} {{id}}`
- Create a new revision of an ID using a given file or folder:
`gdrive update {{id}} {{path/to/file_or_folder}}`