diff options
| author | Petter Rasmussen | 2015-03-21 12:16:18 +0100 | 
|---|---|---|
| committer | Petter Rasmussen | 2015-03-21 12:16:18 +0100 | 
| commit | f88d083e8e7538be15911d559a29f1ad66eb6a49 (patch) | |
| tree | 73e68828b21ece640f8a94379f2a382f92902a59 /README.md | |
| parent | 948a501d482bc2b7f999e181ef23665daec3d957 (diff) | |
| download | gdrive-f88d083e8e7538be15911d559a29f1ad66eb6a49.tar.bz2 | |
Update options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 57 | 
1 files changed, 30 insertions, 27 deletions
| @@ -33,44 +33,47 @@ 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 +            -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) -            -n, --noheader Do not show the header +            -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 or directory 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 +            -f, --file      File or directory 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 +                --mimetype  The MIME type (default will try to figure it out) +                --convert   File will be converted to Google Docs format +            -C, --chunksize Set chunk size in bytes. Minimum is 262144, default is 1048576. Recommended to be a power of two.          url: -            -i, --id       File Id (*) -            -p, --preview  Generate preview url (default) -            -d, --download Generate download url +            -i, --id        File Id (*) +            -p, --preview   Generate preview url (default) +            -d, --download  Generate download url  ## Examples  ###### List files | 
