(no commit message)
authorpat <pat@web>
Sat, 10 Sep 2022 21:19:42 +0000 (21:19 +0000)
committeradmin <admin@branchable.com>
Sat, 10 Sep 2022 21:19:42 +0000 (21:19 +0000)
doc/forum/Ensure_all_versions_are_on_remotes.mdwn

index fd59e69dc72fc347bfc8085bb82a44f2ca893307..2b7816ab1173e91ea566281f08731cb9ad907fd0 100644 (file)
@@ -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
 ```