forum/sync --content sometimes iterates over all filesgit-annexhttp://git-annex.branchable.com/forum/sync_--content_sometimes_iterates_over_all_files/git-annexikiwiki2020-06-17T01:18:32Zcomment 1http://git-annex.branchable.com/forum/sync_--content_sometimes_iterates_over_all_files/comment_1_a276f0f6aa87a491c2fba3d58217b75a/joey2020-06-17T01:18:32Z2020-05-27T18:27:26Z
<p>What specifically are you seeing when it "iterates over all files in the
annex"?</p>
<p>sync --content necessarily has to look at each file in turn in order to
determine if a) the file's content is present locally and b) if the file's
content is present on the remote.</p>
comment 2http://git-annex.branchable.com/forum/sync_--content_sometimes_iterates_over_all_files/comment_2_1f8ae9a0099d456e25f387798f99eec9/thk2020-06-17T01:18:32Z2020-05-27T20:41:03Z
<p>Actually I believe, the difference might just be that with an SSH remote, there is a remote process getting started on the remote that iterates over all files while with a directory remote, the iteration is done in the same process.
Now when I actually look at it, the SSH remote sync seems to take a similar amount of time to sync, it only does not output all the files it iterates over.</p>