From 4a9815ed8ddf89a90c51ceaa41fe00b1db3b99ba Mon Sep 17 00:00:00 2001 From: Petter Rasmussen Date: Mon, 22 Feb 2016 21:55:40 +0100 Subject: Add largest files example --- README.md | 13 ++++++++++--- 1 file 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 -- cgit v1.2.3