]> dgit.raspbian.org Git - git-annex.git/commitdiff
Added a comment: can use copies=groupname:number
authorkyle <kyle@web>
Thu, 5 Mar 2020 20:26:02 +0000 (20:26 +0000)
committeradmin <admin@branchable.com>
Thu, 5 Mar 2020 20:26:02 +0000 (20:26 +0000)
doc/forum/Preferred_contents_based_on_presence_in_repo/comment_1_2109fe43fccc6576e782a2e765eb6b50._comment [new file with mode: 0644]

diff --git a/doc/forum/Preferred_contents_based_on_presence_in_repo/comment_1_2109fe43fccc6576e782a2e765eb6b50._comment b/doc/forum/Preferred_contents_based_on_presence_in_repo/comment_1_2109fe43fccc6576e782a2e765eb6b50._comment
new file mode 100644 (file)
index 0000000..5746c77
--- /dev/null
@@ -0,0 +1,17 @@
+[[!comment format=mdwn
+ username="kyle"
+ avatar="http://cdn.libravatar.org/avatar/7d6e85cde1422ad60607c87fa87c63f3"
+ subject="can use copies=groupname:number"
+ date="2020-03-05T20:26:01Z"
+ content="""
+You could use the approach mentioned in the `preferred-content`
+manpage:
+
+    Preferred content expressions have no equivalent to the `--in`
+    option, but groups can accomplish similar things. You can add
+    repositories to groups, and match against the groups in a
+    preferred content expression. So rather than `--in=usbdrive`,
+    put all the USB drives into a \"transfer\" group, and use
+    `copies=transfer:1`
+
+"""]]