aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetter Rasmussen2016-02-22 21:55:40 +0100
committerPetter Rasmussen2016-02-22 21:55:40 +0100
commit4a9815ed8ddf89a90c51ceaa41fe00b1db3b99ba (patch)
tree8dd710db9faf23e49b4d4a7e9b365dbddfc6232c
parentcabd73299fade0ff2fdc3732ebece151e9edf058 (diff)
downloadgdrive-4a9815ed8ddf89a90c51ceaa41fe00b1db3b99ba.tar.bz2
Add largest files example
-rw-r--r--README.md13
1 files changed, 10 insertions, 3 deletions
diff --git a/README.md b/README.md
index 08d2b07..cbe1789 100644
--- a/README.md
+++ b/README.md
@@ -3,9 +3,7 @@ gdrive
## Overview
-gdrive is a command line utility for uploading and downloading files to your Google Drive.
-It's main goal is for automating backups, but it also has basic sync functionality.
-Works on most platforms.
+gdrive is a command line utility for interacting with Google Drive.
## Prerequisites
None, binaries are statically linked.
@@ -482,6 +480,15 @@ Id Name Type Size Created
0B3X9GlR6Embnb095MGxEYmJhY2c drive-linux-x64 bin 6.5 MB 2015-07-18 16:43:38
```
+#### List largest files
+```
+$ gdrive list --query "name contains 'gdrive'" --order "quotaBytesUsed desc" -m 3
+Id Name Type Size Created
+0B3X9GlR6EmbnZXpDRG1xblM2LTg gdrive-linux-mips64 bin 8.5 MB 2016-02-22 21:07:04
+0B3X9GlR6EmbnNW5CTV8xdFkxTjg gdrive-linux-mips64le bin 8.5 MB 2016-02-22 21:07:07
+0B3X9GlR6EmbnZ1NGS25FdEVlWEk gdrive-osx-x64 bin 8.3 MB 2016-02-21 20:22:13
+```
+
#### Upload file
```
$ gdrive upload gdrive-osx-x64