diff options
| author | Erich Roncarolo | 2014-02-15 17:24:26 +0100 | 
|---|---|---|
| committer | Erich Roncarolo | 2014-02-15 17:24:26 +0100 | 
| commit | 10cfc69a087a96833bfb2f9d8feab0875f4f9aa7 (patch) | |
| tree | 5ce8ac5ea6ac6b37c5e85a424fbe0c669f44b500 /README.md | |
| parent | d1e0a57e2b08311da8eb6866497c763aec3121db (diff) | |
| download | gdrive-10cfc69a087a96833bfb2f9d8feab0875f4f9aa7.tar.bz2 | |
Folder support added
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 44 | 
1 files changed, 25 insertions, 19 deletions
| @@ -33,34 +33,40 @@ If you want to compile from source you need the go toolchain: http://golang.org/  #### Options      Global options: -        -a, --advanced Advanced Mode -- lets you specify your own oauth client id and secret on setup -        -c, --config   Set application path where config and token is stored. Defaults to ~/.gdrive -        -v, --version  Print version -        -h, --help     Show this help +            -a, --advanced Advanced Mode -- lets you specify your own oauth client id and secret on setup +            -c, --config   Set application path where config and token is stored. Defaults to ~/.gdrive +            -v, --version  Print version +            -h, --help     Show this help      Verbs:          delete: -            -i, --id File Id (*) +            -i, --id       File Id (*)          download: -            -i, --id     File Id (*) -            -s, --stdout Write file content to stdout -                --pop    Download latest file, and remove it from google drive +            -i, --id       File Id (*) +            -s, --stdout   Write file content to stdout +                --pop      Download latest file, and remove it from google drive +        folder: +            -t, --title    Folder to create (*) +            -p, --parent   Parent Id of the folder +                --share    Share created folder          info: -            -i, --id File Id (*) +            -i, --id       File Id (*)          list: -            -m, --max    Max results -            -t, --title  Title filter -            -q, --query  Query (see https://developers.google.com/drive/search-parameters) -            -s, --shared Show shared status (Note: this will generate 1 http req per file) +            -m, --max      Max results +            -t, --title    Title filter +            -q, --query    Query (see https://developers.google.com/drive/search-parameters) +            -s, --shared   Show shared status (Note: this will generate 1 http req per file) +            -n, --noheader Do not show the header          share: -            -i, --id File Id (*) +            -i, --id       File Id (*)          unshare: -            -i, --id File Id (*) +            -i, --id       File Id (*)          upload: -            -f, --file  File to upload (*) -            -s, --stdin Use stdin as file content (*) -            -t, --title Title to give uploaded file. Defaults to filename -                --share Share uploaded file +            -f, --file     File to upload (*) +            -s, --stdin    Use stdin as file content (*) +            -t, --title    Title to give uploaded file. Defaults to filename +            -p, --parent   Parent Id of the file +                --share    Share uploaded file          url:              -i, --id       File Id (*)              -p, --preview  Generate preview url (default) | 
