Google Drive CLI
Project description
gdrive
usage: gdrive [--limit LIMIT] [--all-fields] [-h] [-H] [-v] [-V]
[--config FILE] [--print-config] [--print-url]
[--completion [SHELL]]
COMMAND ...
Google `drive` command line interface.
options:
--limit LIMIT Limit execution to `LIMIT` number of items.
--all-fields Use parms['fields'] = '*' (be verbose).
Specify one of:
COMMAND
about Get information about the google user and drive.
download Download a file.
files List all files.
folders List all folders.
list List files and folders.
rename Rename file.
renamelist Rename list of files.
uploaddir Upload directories(s).
uploadfile Upload file(s).
uploadlist Upload list of files.
General options:
-h, --help Show this help message and exit.
-H, --long-help Show help for all commands and exit.
-v, --verbose `-v` for detailed output and `-vv` for more detailed.
-V, --version Print version number and exit.
--config FILE Use config `FILE` (default: `~/.pygoogle.toml`).
--print-config Print effective config and exit.
--print-url Print project url and exit.
--completion [SHELL] Print completion scripts for `SHELL` and exit
(default: `bash`).
See `gdrive COMMAND --help` for help on a specific command.
gdrive about
usage: gdrive about [-h] [--no-themes]
about.description
options:
-h, --help Show this help message and exit.
--no-themes Remove theme elements; (implies --all-fields).
gdrive download
usage: gdrive download [-h] FILE [NEWNAME]
download.description
positional arguments:
FILE File to download.
NEWNAME Local name to assign.
options:
-h, --help Show this help message and exit.
gdrive files
usage: gdrive files [-h] [-l]
files.description
options:
-h, --help Show this help message and exit.
-l, --long-listing Use a long listing format.
gdrive folders
usage: gdrive folders [-h] [-l]
folders.description
options:
-h, --help Show this help message and exit.
-l, --long-listing Use a long listing format.
gdrive list
usage: gdrive list [-h] [-t] [-l] [-f] [-d] [-R] PATH
list.description
positional arguments:
PATH File or folder of items to list.
options:
-h, --help Show this help message and exit.
-t, --time Use a time listing format.
-l, --long-listing Use a long listing format.
-f, --files-only Show files only.
-d, --folders-only Show folders only.
-R, --recursive Recurse into any sub-folders, recursively.
gdrive rename
usage: gdrive rename [-h] src target
rename.description
positional arguments:
src File to rename.
target New name.
options:
-h, --help Show this help message and exit.
gdrive renamelist
usage: gdrive renamelist [-h] listfile
renamelist.description
positional arguments:
listfile File with list of renames.
options:
-h, --help Show this help message and exit.
gdrive uploaddir
usage: gdrive uploaddir [-h] [--add-timestamp] [--convert] [--no-convert]
[--target-folder TARGET_FOLDER]
[PATH ...]
uploaddir.description
positional arguments:
PATH File to upload.
options:
-h, --help Show this help message and exit.
--add-timestamp Bake a timestamp into the target name.
--convert Convert to google doc.
--no-convert Do not convert to google doc.
--target-folder TARGET_FOLDER
Root of destination tree.
gdrive uploadfile
usage: gdrive uploadfile [-h] [--add-timestamp] [--convert] [--no-convert]
PATH FOLDER [NEWNAME]
uploadfile.description
positional arguments:
PATH File to upload.
FOLDER Destination folder.
NEWNAME New name for target file.
options:
-h, --help Show this help message and exit.
--add-timestamp Bake a timestamp into the target name.
--convert Convert to google doc.
--no-convert Do not convert to google doc.
gdrive uploadlist
usage: gdrive uploadlist [-h] [--no-themes] [--add-timestamp] [--convert]
[--no-convert] [--target-folder TARGET_FOLDER]
listfile
uploadlist.description
positional arguments:
listfile File with list of uploads.
options:
-h, --help Show this help message and exit.
--no-themes Remove theme elements; (implies --all-fields).
--add-timestamp Bake a timestamp into the target name.
--convert Convert to google doc.
--no-convert Do not convert to google doc.
--target-folder TARGET_FOLDER
Destination folder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rlane_gdrive-1.0.2.tar.gz
(15.5 kB
view details)
Built Distribution
File details
Details for the file rlane_gdrive-1.0.2.tar.gz
.
File metadata
- Download URL: rlane_gdrive-1.0.2.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d1b68a721d9e88e92ea0b70866379954769d688a049d09000cf9bb5ad4192d77 |
|
MD5 | 6a911df334ad27e435bea56f3b93eae3 |
|
BLAKE2b-256 | dfb23d512d5e37b88dbfa4464df23668648e9e43ab8de6730695c09095bd045b |
File details
Details for the file rlane_gdrive-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: rlane_gdrive-1.0.2-py3-none-any.whl
- Upload date:
- Size: 18.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 47d9f568b60c16d40d1ff8aa16c7dc009ba63b4b1bf44a8109d141f00c0c8f67 |
|
MD5 | c062b1671212f44cc1438eba18b45c6e |
|
BLAKE2b-256 | ad86f77f5f4c64838a3609c8db2e1b63107fee5e91df8770347cbb2374a054c8 |