GRIVE(1)
grive(1) β Google Drive client for GNU/Linux π
okay bestie, so this is the manual for grive, and it lives in the General Commands Manual section of your man pages (that's the (1) in grive(1), it's giving "I'm a user-facing command, come hang out"). Sit down, grab a boba, we're syncing your whole life to the cloud π¦
NAME
grive β Google Drive client for GNU/Linux β¨
SYNOPSIS
grive [OPTIONS]
that's it. that's the whole vibe. options go in, files go up π
DESCRIPTION
Grive is a Google Drive client β you know, Google Drive, the online storage service β built for GNU/Linux systems. it's literally here to serve you π
It lets you synchronize all your files on the cloud with a directory of your choice, and it also uploads new files to Google Drive. your local folder and your cloud folder, holding hands, matching outfits, iconic π«Ά
The options are as follows:
OPTIONS β¨
-a,--authβ asks Google for an authorization token. no token, no entry, that's the rules π-d,--debugβ turns on debug level messages. heads up: this implies-Vπ--dry-runβ only detects which files need to be uploaded/downloaded, without actually performing any changes. it's a dress rehearsal, not the show π-f,--forceβ forces grive to always download a file from Google Drive instead of uploading it. remote wins, periodt π-u,--upload-onlyβ forces grive to not download anything from Google Drive, and to only upload local changes to the server instead. outgoing only, no lurkin' π-n,--no-remote-newβ forces grive to download only files that are changed in Google Drive and already exist locally. if it's new-new, it stays where it is πΈ-h,--helpβ produces the help message π«Ά--ignore <perl_regexp>β ignores files whose relative paths match this Perl Regular Expression. yes, actual Perl regex, she's fancy β¨-l <filename>,--log <filename>β writes log output to<filename>π--log-http <filename_prefix>β logs all HTTP responses into files named<filename_prefix>YYYY-MM-DD.HHMMSS.txtfor debugging. perfect for when you're deep in the trenches at 3am π--new-revβ creates new revisions in the server for updated files π₯-p <wc_path>,--path <wc_path>β uses<wc_path>as the working copy root directory π-s <subdir>,--dir <subdir>β syncs a single<subdir>subdirectory. internally converted to an ignore regexp, lowkey sneaky but it works π§-v,--versionβ displays the program version β-P,--progress-barβ prints an ASCII progress bar for each downloaded/uploaded file. watching that bar fill up is genuinely main character energy π-V,--verboseβ verbose mode. enables more messages than usual, if you like your terminal chatty π
.griveignore π
You may create .griveignore in your Grive root and use it to set up your exclusion/inclusion rules. think of it as the bouncer at the door of your sync π
The rules are similar to Git's .gitignore, but they may differ slightly, because the implementation is a different implementation, iykyk π€·
- lines that start with
#are comments π¬ - leading and trailing spaces are ignored unless escaped with
\ - non-empty lines without
!in front are treated as "exclude" patterns - non-empty lines with
!in front are treated as "include" patterns, and they have priority over all "exclude" ones β include girlies stay winning π - patterns are matched against the filenames relative to the grive root π
a/**/bmatches any number of subpaths betweenaandb, including 0**/amatchesainside any directoryb/**matches everything insideb, but notbitself*matches any number of any characters except/?matches any character except/.griveignoreitself isn't ignored by default, but you can include it in itself to ignore it π (she's self-aware, we love that for her)
AUTHORS π«Ά
The current maintainer is Vitaliy Filippov.
The original author was Nestal Wan. This manpage was written by JosΓ© Luis Segura Lucas (josel.segura@gmx.es).
The full list of contributors may be found here: http://yourcmc.ru/wiki/Grive2#Full_list_of_contributors β go give them their flowers, fr fr π
REPORT BUGS π
https://github.com/vitalif/grive2/issueshttps://groups.google.com/forum/?fromgroups#!forum/grive-devel
found something cursed? don't sit on it bestie, go tell the devs. bugs hate being perceived π
and that's the whole page, babe πΈ this one was dated January 3, 2016, from the General Commands Manual corner of the internet β so when you're reading it, just know the manual name grive and that lil' date are basically its birth chart. periodt π
β¨
π¦ where this page comes from
- fedora 43: grive2 0.5.3-11.fc43 Β· GPL-2.0-only
- fedora 44: grive2 0.5.3-13.fc44 Β· GPL-2.0-only
- nixos 26.05: grive2 0.5.3
- nixpkgs unstable: grive2 0.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms