jellyfin-archive/jellyfin-plugin-autoorganize

[Feature Request] Add "Hard Link" transfer method to Auto Organize plugin

jessebl opened this issue · 3 comments

At this time, the Auto Organize plugin provides the option to either copy or move renamed files. An additional option to hard link the renamed files would be very welcome, providing the upside of copying (original file locations and names), and the upside of moving (saving disk space).

Thoughts?

I do not really like hard-links however it would be great to have more options. The plugin should get support for LN and CP reflink I do not have any usecase at my machine though

I do not really like hard-links however it would be great to have more options. The plugin should get support for LN and CP reflink I do not have any usecase at my machine though

What's not to like about them? A very common and very valid use case for hard links is that they allow you to download e.g. a torrent of Big Buck Bunny and when it's done, import a hard-linked "copy" of it into your library and rename/organize that "copy" according to your preferences and needs, all the while leaving the original file untouched so it can seamlessly continue seeding; and all that without wasting a single additional byte for the extra "copy".

You could even use additional hard links in different libraries for different users and have them renamed differently and living in wildly different folder hierarchies, as per each user's preferences, and they would still not take any more space on your disk or affect seeding in any way. That's the beauty of hard links, you can have as many as you want and manipulate them as totally separate files, and they won't ever take any more space than what is needed for the original file.

Of course, I'm talking about Linux here, where hard links are part and parcel of everyday life; on Windows hard links do exist but are not really a thing.

(Please don't mind me; I was just passing through and stumbled on this comment and couldn't help but reply because SOMEONE WAS WRONG ON THE INTERNET!!!!!1111one 😝)