View Single Post
Old 09-07-2018, 02:06 AM   #1
CKLJ001
Junior Member
CKLJ001 began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2018
Device: none
Save to disk using hardlinks, possible?

Hullo folks,

I was wondering whether anyone knows how to use, or whether not it's even possible to use the save to disk template formats to create a hardlinked directory.

I organise my books within Calibre using a custom hierarchical genre column as described in the Calibre manual. When I want to pass on some books from a specific genre, I simple do a save to disk. (Which I learned to do using templates by reading the wonderful plugboard sticky thread!)

This works fine. However, the size of my library is now quite large. (I'm a manual writer. And manuals, because of their pic heavy nature, can be large - 200-300mb pdf's are not uncommon.)

Doing a save-to-disk to keep a folder hierarchy that mirrors my genre hierarchy is now starting to get prohibitive.

Because I use linux, all my backups are done using snapshot hardlinks. So I was wondering if I could do something similar, that is a save-to-disk of my genre hierarchy, using hardlinks instead of copying as save-to-disk currently does.

I tried doing a number of searches online and searching this forum, but can't seem to find anything.

I was wondering if anyone here had any advice of how I might go about doing this or even where I might start looking.
CKLJ001 is offline   Reply With Quote