From treeguy at disroot.org Mon Jun 16 10:50:09 2025 From: treeguy at disroot.org (treeguy) Date: Mon, 16 Jun 2025 10:50:09 +0200 Subject: Sharing files across repositories Message-ID: <545d95af-724f-4713-a670-b41d3734fc55@disroot.org> 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