From: Joey Hess Date: Thu, 25 Jan 2024 15:53:57 +0000 (-0400) Subject: comment X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~29^2~13 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=1d17e4ee165ea6516560b9a2d831c667e6e8aa38;p=git-annex.git comment --- diff --git a/doc/forum/sync_content_through_repo_that_wants_nothing/comment_3_e05a3e3d991617bb2b323b5572cd771e._comment b/doc/forum/sync_content_through_repo_that_wants_nothing/comment_3_e05a3e3d991617bb2b323b5572cd771e._comment new file mode 100644 index 0000000000..ddc96a55fc --- /dev/null +++ b/doc/forum/sync_content_through_repo_that_wants_nothing/comment_3_e05a3e3d991617bb2b323b5572cd771e._comment @@ -0,0 +1,17 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 3""" + date="2024-01-25T15:50:04Z" + content=""" +`not copies=2` might be sufficient in your situation. + +If you look at the preferred content expression for a transfer repository, it +is: + +`not (inallgroup=client and copies=client:2) and ($client)` + +Where `$client` is a copy of the preferred content expressions of the client. + +There's no reason you can't write a preferred content expression that +does the same thing for some other group of repositories. +"""]]