Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 12-04-2019, 08:39 AM   #1
michelD09
Junior Member
michelD09 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2019
Device: android tablet
Question Directory structure and hardlinks

Hello,
sorry for getting back to the discussions (I read) about folder structure but I'd like to know if the following process could be admissible (on a linux system) :
- I have all my original e-books in one folder, say ~/orig
- I hardlink all theses files in another folder, say ~/dest
- I ask Calibre to watch dest and copy files to its folder (~/Calibre Library), deleting files in ~/dest when they are copied

This way i can kepp ~/orig untouched (for use on another purposes : I need to access ~/orig - which is a "flat" folder, without subfolders - with dired in emacs without having to traverse subfolders structure built by Calibre) and hard links do not occupy much room.

One question is : when Calibre copy the file, does it copy the link (in witch case this doesn't increase room) or does it "re-link" the file to another inode ?

Thanks a lot for your help.
Michel
michelD09 is offline   Reply With Quote
Old 12-04-2019, 08:52 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Just add directly from orig, calibre does not delete added files (unless you use automatic adding). And no copies are always full copies never links.
kovidgoyal is offline   Reply With Quote
Old 12-09-2019, 05:13 AM   #3
michelD09
Junior Member
michelD09 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2019
Device: android tablet
Thumbs up directorystructure and hard links

Hello !
OK, I'll try to manage it this way.
Thanks a lot for your help
Michel
michelD09 is offline   Reply With Quote
Reply

Tags
hardlink


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kobo and directory structure DrunkenDonkey Kobo Reader 9 08-24-2016 01:01 PM
Directory Structure davcefai Which one should I buy? 49 09-14-2015 03:05 AM
Directory structure praky Library Management 36 01-24-2011 08:23 AM
Directory structure on Cybooks Baumi Calibre 8 01-04-2010 02:35 AM
directory structure Dopedangel Calibre 7 08-20-2009 06:17 AM


All times are GMT -4. The time now is 10:07 PM.


MobileRead.com is a privately owned, operated and funded community.