This commit is contained in:
pat 2022-09-10 21:19:42 +00:00 committed by admin
parent 901c89b287
commit e52c4f69b4

View 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
```