summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGravatar listx <listx@web>2016-07-29 04:27:13 +0000
committerGravatar admin <admin@branchable.com>2016-07-29 04:27:13 +0000
commit97ecc5a76be12d615889eed993a946b2effcbdd8 (patch)
treeb83c3dc8d28992f3195ccf09c6cfe0955b46109d /doc
parentf7c0f4b26cec6c616d0892c2d5f5c4100a218481 (diff)
Diffstat (limited to 'doc')
-rw-r--r--doc/forum/git_annex_vicfg___40__preferred_content__41___examples.mdwn37
1 files changed, 37 insertions, 0 deletions
diff --git a/doc/forum/git_annex_vicfg___40__preferred_content__41___examples.mdwn b/doc/forum/git_annex_vicfg___40__preferred_content__41___examples.mdwn
new file mode 100644
index 000000000..54676514c
--- /dev/null
+++ b/doc/forum/git_annex_vicfg___40__preferred_content__41___examples.mdwn
@@ -0,0 +1,37 @@
+My problem: I want to free up some disk space by doing `git annex drop FOO`, but then when I do `git annex add BAR; git annex sync --content`, FOO reappears.
+
+Looking into the man pages, I need to set up `git annex vicfg` to make `sync --content` ignore (exclude) FOO.
+
+I am overwhelmed by the configuration file and would just like to see a minimal complete example configuration file that does what I want. In the long run I probably want to use options like "groupwanted" and such, but am not sure what a "group" is exactly.
+
+Grepping for 'exclude', my config file has this already in it:
+
+```
+# Standard preferred contents
+# (Used by wanted or groupwanted expressions containing "standard")
+# (For reference only; built-in and cannot be changed!)
+# standard client = (include=* and ((exclude=*/archive/* and exclude=archive/*) or (not (copies=archive:1 or copies=smallarchive:1)))) or approxlackingcopies=1
+```
+
+but I am not sure how to go about it. For one, the comment hints that I need to use a secondary `wanted` or `groupwanted` expression to reference the `standard` keyword to actually use it, but I am just confused by all of these interlocking components.
+
+Also, I see stuff like this:
+
+```
+# Repository preferred contents
+# (Set to "standard" to use a repository's group's preferred contents)
+# (for web)
+#wanted 00000000-0000-0000-0000-000000000001 =
+# (for bittorrent)
+#wanted 00000000-0000-0000-0000-000000000002 =
+# (for l@k0:/dev/shm/annex)
+#wanted 56e6081b-4282-4f07-b53c-9042240cd75e =
+# (for k0)
+#wanted a71d805d-df77-42e7-97b0-ba7686c05083 =
+# (for l@m0:/mnt/a/annex.git [origin])
+#wanted c5c012cc-2080-481f-81bc-7f449f33490b =
+```
+
+and am confused by these UUIDs. Where do these UUIDs come from? Am I supposed to use UUIDs?
+
+If there is a link or another doc I missed, please point me in the right direction.