I always wondered why hardlinks in radarr/ sonarr and qbittorrent didn’t work for me. I think the problem was that I mapped the directories as below:
volumes:
- ./config:/config
- ./downloads:/downloads
- ./movies:/movies
whereas I should’ve mapped them as:
volumes:
- ./config:/config
- ./media:/media
- ./media/downloads:/media/downloads
- ./media/movies:/media/movies
Now, how do I replace all the duplicate files in /downloads
with the links?
What you should actually do is just mount /media.
That way qbit and radarr will see the folders as the same structure.
Not sure how to remove the duplicate files though
You can’t hard link across docker volumes. In the second example, you need to remove the /media/movies and /media/downloads volumes, only keep /media.
After fixing this, only future downloads will be hard links. Use a deduplication tool like jdupes to create hard links for the already downloaded files.
Thank you!
What is radaar?? Never heard about it??
deleted by creator
jdupes
deleted by creator
thx
Killing GitHub through attrition
Once migration is complete, I’ll be locking the GitHub repos as read-only forever, though I am inclined to delete them outright since the only power people have over giant corporations is no longer feeding them your time, money, content, and other resources. That’s why I destroyed my several years of contributions to Reddit. It’s more convenient to use the offerings of these companies, but using them results in horrible abuses of the users and stifling of freedoms in the long run.
Refreshing 🥰