git-annex-common-options(1)
๐ git-annex-common-options ๐
okay bestie, welcome to the git-annex-common-options(1) page from the git-annex general commands manual โจ this is the lore drop for all the flags that a whole bunch of git-annex commands just quietly accept, no cap ๐ซถ
๐ธ NAME ๐ธ
git-annex-common-options โ options supported by many git-annex commands ๐
โจ DESCRIPTION โจ
so like, these common options are accepted by many git-annex commands, and they might not even be listed on those commands' own individual man pages. sneaky? a little. iconic? absolutely. ๐
Most of these options are accepted by all git-annex commands. and psst โ many commands also accept the git-annex-matching-options(1) too, so go read that one next, iykyk ๐ฆ
๐ OPTIONS ๐
--forceโ forces unsafe actions through, like dropping a file's content when no other source of it can be verified to still exist, or adding ignored files. use with care, fr fr ๐ญ
bestie this one is literally the "danger" button. respect it. ๐
--fastโ skips some expensive operations that a command would normally do. exactly which stuff gets skipped depends on the command, so check that command's own man page for the deets. โก--quietโ skips the default verbose display of what's being done, and only shows errors. minimalism era. ๐คซ--verboseโ turns on the verbose display. it's on by default, but--quietcan turn it off. ๐ฃ๏ธ--explainโ shows you the explanations of what git-annex is taking into account when it decides what to do. the explanations show up inside square brackets, like this:"[foo is not present here]"๐
this includes explanations of why preferred content expressions and other similar expressions like annex.largefiles match or fail to match. in those explanations, the expression gets displayed with each term followed by [TRUE] or [FALSE] to show the value. irrelevant terms get omitted from the explanation โ for example, "exclude=* and copies=1" will be displayed as "exclude=*[FALSE]". the receipts!! ๐งพโจ
--debugโ displays debug messages to standard error. ๐--no-debugโ disables the display of debug messages. ๐ซ๐--debugfilter=name[,name..]โ once debug message display has been enabled with--debug, this filters the debug messages down to the ones coming from modules with the names you specify. ๐ฏ
to find the names of modules, look at the full debug output โ it includes the module name, eg "(Utility.Process)".
you don't need to type the full module name when using this, a substring of the name will do. so chill.
for example, --debugfilter=Process,External will display debugging output when git-annex runs processes, and when it communicates with external special remotes. obsessed with the precision tbh ๐
--numcopies=nโ overrides thenumcopiessetting. ๐ข--mincopies=nโ overrides themincopiessetting. ๐ข--rebalanceโ changes the behavior of the"balanced"preferred content expression so it's the same as"fullbalanced", and the"sizebalanced"expression so it's the same as"fullsizebalanced". when those expressions get used, this can cause a lot of work to be done to rebalance repositories. like, a LOT lot. ๐ฎโ๐จ--time-limit=timeโ limits how long a git-annex command runs. the time can be something like"5h", or"30m"or even"45s"or"10d". โฐ
note that git-annex may keep running for some time past the specified time limit, in order to finish processing files it started before the time limit was reached. that, plus a cleaner shutdown, are the differences between using this option and a command like timeout(1). ๐ซถ
when the time limit prevents git-annex from doing all it was asked to, it will exit with a special code, 101. ๐ช
--size-limit=sizeโ limits the total size of annexed files that a git-annex command can process. ๐
the size can be specified with any commonly used units, for example, "50gb".
in some cases, an annexed file's size is not known. this option will prevent git-annex from processing such files. ๐
when the size limit prevents git-annex from acting on any files, it will exit with a special code, 101. ๐ช
--semitrust=repositoryโ and the next one share a description, scroll down bestie ๐--untrust=repositoryโ overrides trust settings for a repository. may be specified more than once. ๐
the repository should be specified using the name of a configured remote, or the UUID or description of a repository. ๐๏ธ
--trust=repositoryโ this used to override trust settings for a repository, but now it will not do so, because trusting a repository can lead to data loss, and data loss is now only enabled when using the--forceoption. so yeah, this one's a glow-down, sorry babe ๐--trust-glacierโ this used to override trust settings for Glacier special remotes, but now it will not do so, because it could lead to data loss, and data loss is now only enabled when using the--forceoption. same energy as above, the plot twist nobody asked for ๐ญ--user-agent=valueโ overrides theUser-Agentto use when downloading files from the web, or otherwise accessing web services. ๐ธ๏ธ--notify-finishโ causes a desktop notification to be displayed after each successful file download and upload. ๐
(only supported on some platforms, e.g. Linux with dbus. a no-op when not supported. so if nothing pops up, it's not you, it's the platform ๐ )
--notify-startโ causes a desktop notification to be displayed when a file upload or download has started, or when a file is dropped. ๐-c name=valueโ overrides git configuration settings. may be specified multiple times. ๐ง
๐ SEE ALSO ๐
๐ AUTHOR ๐
Joey Hess <id@joeyh.name>
okay that's the whole thing, bestie, you ate that ๐๐ and for the cute lil sign-off: this was the git-annex-common-options(1) page from the git-annex general commands manual, footer and all โ go forth and flag responsibly, mwah ๐โจ๐ฆ
๐ฆ where this page comes from
- alpine 3.24: git-annex-doc 10.20261026-r0 ยท AGPL-3.0-or-later
- arch rolling: git-annex 10.20261026-2 ยท AGPL-3.0-only
- debian trixie: git-annex 10.20250416-2 ยท AGPL-3.0-or-later
- debian trixie: git-annex 10.20250416-2+deb13u1 ยท AGPL-3.0-or-later
- epel 10: git-annex 10.20250320-1.el10_0 ยท AGPL-3.0-or-later
- fedora 43: git-annex 10.20250630-4.fc43 ยท AGPL-3.0-or-later
- fedora 43: git-annex 10.20250929-5.fc43 ยท AGPL-3.0-or-later
- fedora 44: git-annex 10.20260115-1.fc44 ยท AGPL-3.0-or-later
- nixos 26.05: git-annex 10.20260421
- nixpkgs unstable: git-annex 10.20260421
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 ยท AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 ยท AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- opensuse-leap 16.0: git-annex 10.20250828-bp160.1.1 ยท AGPL-3.0-or-later AND GPL-3.0-or-later AND BSD-2-Clause AND MIT AND GPL-2.0-only
- ubuntu questing: git-annex 10.20250721-1
- ubuntu resolute: git-annex 10.20251029-1ubuntu1 ยท AGPL-3.0-or-later
- ubuntu stonking: git-annex 10.20251029-1ubuntu1 ยท AGPL-3.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms