08-18-2024, 09:15 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Aug 2024
Location: UK
Device: iPad mini
|
Calibre copying instead of moving files
When handling large PDFs, I've noticed that, when changing e.g. author or book name, instead of simply renaming the files/folder or moving the book folder to the new author's folder, Calibre seems to copy everything and then delete the files/folder from the previous location.
So what should take a fraction of a second (rename/move) suddenly takes several seconds per book - because everything is duplicated and then the old versions deleted. I didn't find any option in the Preferences to change this behaviour. Did I miss it? Or is there another way to change this? |
08-18-2024, 10:12 AM | #2 |
creator of calibre
Posts: 44,493
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It doesnt copy, it uses hard links. Only if the underlying silesystem doesnt support hardlinks are full copies done. And no it cant move as the operation needs to be atomic, which means that if something fails during the multistep operation the entire operation can be canceled without affecting the original book folder.
|
Advert | |
|
08-18-2024, 10:17 AM | #3 |
Fool
Posts: 418
Karma: 3585252
Join Date: Feb 2003
Device: Kindle: Voyage,PW1,KOA, Kobo: Clara Colour, Nook GLP, Pocketbook verse
|
I don't have any specific information on Calibre's implementation of this approach to moving and renaming.
However, before trying to modify this behavior, you should understand that this is a safety measure--it prevents losing the data if something happens in the middle of the move/rename (either a mechanical fault or a software bug). It is a very bad idea to try to bypass this behavior, just as it would have been a very bad idea for Calibre itself to do moves in the way you would prefer, |
08-18-2024, 06:52 PM | #4 |
null operator (he/him)
Posts: 20,985
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@mbirth - which filesystem are you using, and on which OS (Windows, MacOS or Linux)?
Hardlinks are not supported on FAT, FAT32 or exFAT. BR |
Tags |
files, handling, metadata |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
moving old Calibre files to a newer version of Calibre | StevenH4305 | Library Management | 6 | 08-03-2016 08:16 PM |
how to prevent calibre copying all files? | ajina | Library Management | 6 | 03-06-2014 06:48 PM |
Moving instead of copying ? | Giuseppe Chillem | Calibre | 3 | 04-11-2013 11:37 PM |
Calibre - Moving Files | ruthielou | Library Management | 2 | 07-08-2011 07:28 AM |
Feature Request: Moving and not copying when adding files... | Chuwiey | Calibre | 7 | 07-03-2010 05:35 AM |