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 index 0000000000..5746c77d01 --- /dev/null +++ b/doc/forum/Preferred_contents_based_on_presence_in_repo/comment_1_2109fe43fccc6576e782a2e765eb6b50._comment @@ -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` + +"""]]