Hello,
could someone please help me understand why old files are being pushed to transfer-type repository on git annex sync --content? The command is executed from a client-type repository. The goal is to have new photos downloaded from transfer, not the other way around.
With --explain I am seeing:
[ 20210428_164158.jpg matches preferred content: standard[TRUE] ]
copy 20210428_164158.jpg (to transfer_repository...)
ok
transfer_repository is put into transfer group and wanted is set to standard hence it should not want the old files (there is a client repo that already has them).
Thanks, jose
There are two possibilities:
Transfer repositories want files that have not yet reached all clients, so maybe you had a second client repository that doesn't have the file yet.
When there is only a single client repository, transfer repositories want to contain all content, even once it's reached that client. The assumption is that, since the purpose of a transfer repo is to transfer between clients, there will be a second client repository added at some point, and then the trasfer repository will have the content to send it it.
This is documented in standard groups.