Sharing files across repositories
treeguy
treeguy at disroot.org
Mon Jun 16 10:50:09 CEST 2025
Hi all,
I have many git annex repositories on my computers.
Sometimes, I end up having multiples of the same file in different
repositories.
For example, the downloads of my torrent client are all in a git annex
repository.
But I also have a separate repository to store software such all linux
install media that has a different structure.
So I end up with two copies of the same file in two different repos.
I can manually deduplicate them by using `cp --reflink=always`,
but that will only have an effect on the computer I'm using.
If I sync both repos to my homeserver, then the file upload will happen
twice
and the files will be stored twice on the homserver.
What is the recommended way to share files across different git annex
repositories on the same disk?
P.S. this is my first time using a mailing list, so apologies in advance
for any etiquette violations on my part
More information about the vcs-home
mailing list