1GRIVE(1) General Commands Manual GRIVE(1)
2
3
4
6 grive - Google Drive client for GNU/Linux
7
8
10 grive [OPTIONS]
11
13 Grive is a Google Drive (online storage service) client for GNU/Linux
14 systems.
15
16 It allows the synchronization of all your files on the cloud with a
17 directory of your choice and the upload of new files to Google Drive.
18
19 The options are as follows:
20
21 -a, --auth
22 Requests authorization token from Google
23
24 -d, --debug
25 Enable debug level messages. Implies -V
26
27 --dry-run
28 Only detect which files need to be uploaded/downloaded, without
29 actually performing changes
30
31 -f, --force
32 Forces grive to always download a file from Google Drive instead
33 uploading it
34
35 -u, --upload-only
36 Forces grive to not download anything from Google Drive and only
37 upload local changes to server instead
38
39 -n, --no-remote-new
40 Forces grive to download only files that are changed in Google
41 Drive and already exist locally
42
43 -h, --help
44 Produces help message
45
46 --ignore <perl_regexp>
47 Ignore files with relative paths matching this Perl Regular
48 Expression.
49
50 -l <filename>, --log <filename>
51 Write log output to <filename>
52
53 --log-http <filename_prefix>
54 Log all HTTP responses in files named <filename_prefix>YYYY-MM-
55 DD.HHMMSS.txt for debugging
56
57 --new-rev
58 Create new revisions in server for updated files
59
60 -p <wc_path>, --path <wc_path>
61 Use <wc_path> as the working copy root directory
62
63 -s <subdir>, --dir <subdir>
64 Sync a single <subdir> subdirectory. Internally converted to an
65 ignore regexp.
66
67 -v, --version
68 Displays program version
69
70 -P, --progress-bar
71 Print ASCII progress bar for each downloaded/uploaded file.
72
73 -V, --verbose
74 Verbose mode. Enables more messages than usual.
75
76
78 You may create .griveignore in your Grive root and use it to setup
79 exclusion/inclusion rules.
80
81 Rules are similar to Git's .gitignore, but may differ slightly due to
82 the different implementation.
83
84 · lines that start with # are comments
85
86 · leading and trailing spaces ignored unless escaped with \
87
88 · non-empty lines without ! in front are treated as "exclude" pat‐
89 terns
90
91 · non-empty lines with ! in front are treated as "include" pat‐
92 terns and have a priority over all "exclude" ones
93
94 · patterns are matched against the filenames relative to the grive
95 root
96
97 · a/**/b matches any number of subpaths between a and b, including
98 0
99
100 · **/a matches `a` inside any directory
101
102 · b/** matches everything inside `b`, but not b itself
103
104 · * matches any number of any characters except /
105
106 · ? matches any character except /
107
108 · .griveignore itself isn't ignored by default, but you can
109 include it in itself to ignore
110
111
113 Current maintainer is Vitaliy Filippov.
114
115 Original author was Nestal Wan. This manpage was written by José Luis
116 Segura Lucas (josel.segura@gmx.es)
117
118 The full list of contributors may be found here http://your‐
119 cmc.ru/wiki/Grive2#Full_list_of_contributors
120
121
123 https://github.com/vitalif/grive2/issues
124 https://groups.google.com/forum/?fromgroups#!forum/grive-devel
125
126
127
128 January 3, 2016 GRIVE(1)