aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorPetter Rasmussen2016-04-09 21:54:45 +0200
committerPetter Rasmussen2016-04-09 21:54:45 +0200
commit264268dbd4f3ddc4b8ed6a97eba34cea1494ae1c (patch)
tree4e900fae30929c2364281f1651a04d3fdb23efd7 /README.md
parentee1368b2255e2ddb42e4199ff48494dc38e72a0d (diff)
downloadgdrive-264268dbd4f3ddc4b8ed6a97eba34cea1494ae1c.tar.bz2
Update usage
Diffstat (limited to 'README.md')
-rw-r--r--README.md27
1 files changed, 17 insertions, 10 deletions
diff --git a/README.md b/README.md
index c1db064..72f49c9 100644
--- a/README.md
+++ b/README.md
@@ -147,12 +147,13 @@ global:
--access-token <accessToken> Oauth access token, only recommended for short-lived requests because of short lifetime (for advanced users)
options:
- -f, --force Overwrite existing file
- -r, --recursive Download directory recursively, documents will be skipped
- --path <path> Download path
- --delete Delete remote file when download is successful
- --no-progress Hide progress
- --stdout Write file content to stdout
+ -f, --force Overwrite existing file
+ -r, --recursive Download directory recursively, documents will be skipped
+ --path <path> Download path
+ --delete Delete remote file when download is successful
+ --no-progress Hide progress
+ --stdout Write file content to stdout
+ --timeout <timeout> Set timeout in seconds, use 0 for no timeout. Timeout is reached when no data is transferred in set amount of seconds, default: 300
```
#### Download all files and directories matching query
@@ -188,6 +189,7 @@ options:
--mime <mime> Force mime type
--share Share file
--delete Delete local file when upload is successful
+ --timeout <timeout> Set timeout in seconds, use 0 for no timeout. Timeout is reached when no data is transferred in set amount of seconds, default: 300
--chunksize <chunksize> Set chunk size in bytes, default: 8388608
```
@@ -205,6 +207,7 @@ options:
--chunksize <chunksize> Set chunk size in bytes, default: 8388608
--mime <mime> Force mime type
--share Share file
+ --timeout <timeout> Set timeout in seconds, use 0 for no timeout. Timeout is reached when no data is transferred in set amount of seconds, default: 300
--no-progress Hide progress
```
@@ -222,6 +225,7 @@ options:
--name <name> Filename
--no-progress Hide progress
--mime <mime> Force mime type
+ --timeout <timeout> Set timeout in seconds, use 0 for no timeout. Timeout is reached when no data is transferred in set amount of seconds, default: 300
--chunksize <chunksize> Set chunk size in bytes, default: 8388608
```
@@ -346,6 +350,7 @@ options:
--delete-extraneous Delete extraneous local files
--dry-run Show what would have been transferred
--no-progress Hide progress
+ --timeout <timeout> Set timeout in seconds, use 0 for no timeout. Timeout is reached when no data is transferred in set amount of seconds, default: 300
```
#### Sync local directory to drive
@@ -364,6 +369,7 @@ options:
--delete-extraneous Delete extraneous remote files
--dry-run Show what would have been transferred
--no-progress Hide progress
+ --timeout <timeout> Set timeout in seconds, use 0 for no timeout. Timeout is reached when no data is transferred in set amount of seconds, default: 300
--chunksize <chunksize> Set chunk size in bytes, default: 8388608
```
@@ -409,10 +415,11 @@ global:
--access-token <accessToken> Oauth access token, only recommended for short-lived requests because of short lifetime (for advanced users)
options:
- -f, --force Overwrite existing file
- --no-progress Hide progress
- --stdout Write file content to stdout
- --path <path> Download path
+ -f, --force Overwrite existing file
+ --no-progress Hide progress
+ --stdout Write file content to stdout
+ --path <path> Download path
+ --timeout <timeout> Set timeout in seconds, use 0 for no timeout. Timeout is reached when no data is transferred in set amount of seconds, default: 300
```
#### Delete file revision