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 08-18-2024, 09:15 AM   #1
mbirth
Junior Member
mbirth began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2024
Location: UK
Device: iPad mini
Question 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?
mbirth is offline   Reply With Quote
Old 08-18-2024, 10:12 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: 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.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-18-2024, 10:17 AM   #3
slm
Fool
slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.slm ought to be getting tired of karma fortunes by now.
 
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,
slm is offline   Reply With Quote
Old 08-18-2024, 06:52 PM   #4
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
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
BetterRed is online now   Reply With Quote
Reply

Tags
files, handling, metadata


Forum Jump

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


All times are GMT -4. The time now is 08:43 PM.


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