From e52c4f69b4d04587d2ae4dd0671d5b696160b688 Mon Sep 17 00:00:00 2001 From: pat Date: Sat, 10 Sep 2022 21:19:42 +0000 Subject: [PATCH] --- doc/forum/Ensure_all_versions_are_on_remotes.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/forum/Ensure_all_versions_are_on_remotes.mdwn b/doc/forum/Ensure_all_versions_are_on_remotes.mdwn index fd59e69dc7..2b7816ab11 100644 --- a/doc/forum/Ensure_all_versions_are_on_remotes.mdwn +++ b/doc/forum/Ensure_all_versions_are_on_remotes.mdwn @@ -4,7 +4,7 @@ Specifically, it seems like sync does a lot more than push and pull files - that I have two machines I work on, and should only have active content. I have two special remotes (S3/wasabi) that should have everything that's ever been annexed, including old versions of files. -If I `git annex sync -a -A` then it will pull all versions locally as well. So I think I may have to separate the get and copy commands? Though `git annex copy -A` is a bit slower since it seems to enumerate every file for every version. +If I `git annex sync -a -A` then it will pull all versions locally as well. So I think I may have to separate the get and copy commands? Here's what I'm doing so far: @@ -29,7 +29,7 @@ git annex sync -a origin machine2 wasabi-east wasabi-west git annex get -a for remote in "wasabi-east wasabi-west" do - git annex copy -q -A -t $remote + git annex copy -A --not --in $remote -t $remote done ```