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 04-28-2015, 09:08 AM   #1
nono01
Junior Member
nono01 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2015
Location: France
Device: none
Filenames truncated after being added

Hello.

How can i solve this problem : the filenames are truncated after being added in Calibre.

e.g : "A People's History of The United States - Howard Zinn.pdf" becomes "A People's History of The - Howard Zinn.pdf"

Is there any regex to keep the filenames unchanged ?

Thanks.
nono01 is offline   Reply With Quote
Old 04-28-2015, 10:14 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
shorten them before adding?
Move your Library close to the drive root (and keep the name short).
Code:
C:\Lib
Path length limits will always limit what will survive in most file system environments. Calibre is designed to work between file systems.
theducks is offline   Reply With Quote
Advert
Old 04-28-2015, 10:18 AM   #3
nono01
Junior Member
nono01 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2015
Location: France
Device: none
I've already moved the library close to the drive root and shortened the names. I've even tried with a single ebook close to the root. Nothing changed...
nono01 is offline   Reply With Quote
Old 04-28-2015, 11:04 AM   #4
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
calibre can find all your books for you, so why does it matter?
eschwartz is offline   Reply With Quote
Old 04-28-2015, 12:34 PM   #5
nono01
Junior Member
nono01 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2015
Location: France
Device: none
Quote:
Originally Posted by eschwartz View Post
calibre can find all your books for you, so why does it matter?
Maybe because i don't want to use Caliber all the time and rename manually all my books.
nono01 is offline   Reply With Quote
Advert
Old 04-28-2015, 12:52 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by nono01 View Post
Maybe because i don't want to use Caliber all the time and rename manually all my books.
Then you are not a user candidate for Calibre.
theducks is offline   Reply With Quote
Old 04-28-2015, 01:13 PM   #7
Section8
Addict
Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.Section8 ought to be getting tired of karma fortunes by now.
 
Section8's Avatar
 
Posts: 254
Karma: 2092424
Join Date: Oct 2011
Location: Arlington, TX
Device: Kindle PW4, Moon+ Reader on a cheap Android tablet
I think this is the relevant sticky thread: https://www.mobileread.com/forums/sho...d.php?t=119175
Section8 is offline   Reply With Quote
Old 04-28-2015, 02:24 PM   #8
faltradl
Guru
faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.faltradl ought to be getting tired of karma fortunes by now.
 
Posts: 602
Karma: 1712372
Join Date: Feb 2013
Location: germany
Device: PocketBook Touch
Quote:
Originally Posted by nono01 View Post
Maybe because i don't want to use Caliber all the time and rename manually all my books.
Use the export funktion of Calibre.
faltradl is offline   Reply With Quote
Old 04-28-2015, 02:40 PM   #9
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,159
Karma: 73448616
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
Or Save to Disk; and remember in Save to Disk there is a preference setting where YOU control the format of the name being used.

Remember that the calibre library and it's folders should really be treated as a black-box; while you can peek under the covers, the names / structures there are for the convenience of calibre itself, and not for the convenience of you the user.
PeterT is offline   Reply With Quote
Old 04-28-2015, 03:07 PM   #10
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by nono01 View Post
Maybe because i don't want to use Caliber all the time and rename manually all my books.
As has been mentioned above -- if you don't want to use calibre for what it is meant for, then what, precisely, do you use it for?

calibre is a librarian for your books. It tracks them, stores metadata in its catalogs, and makes all of that available for you, and in order to do a good job at that, it needs you to use it. If you really want to deal with raw files, go ahead -- but you can do that just as well without calibre having ever been involved at any time.

You just want to convert books? calibre has a rich and featureful command line interface.
Or you can export books according to whatever metadata-based filename paths you prefer, sing save-to-disk.

My favorite method involves just letting calibre abstract away all that busywork.
eschwartz is offline   Reply With Quote
Old 04-28-2015, 03:30 PM   #11
nono01
Junior Member
nono01 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2015
Location: France
Device: none
I just want to use Caliber to download metadatas and batch rename the files properly. I don't want to be dependant of this software, despite its qualities. It is really brilliant and this is the only criticism i can make about it.
nono01 is offline   Reply With Quote
Old 04-28-2015, 03:51 PM   #12
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
If you want to use calibre to download metadata but not to manage your ebook library, try using `fetch-ebook-metadata` to download metadata and output as OPF, then use `ebook-meta` to save the metadata to the book.

It shouldn't be too hard to script it.

Or just use calibre and let it handle everything. Your choice.
If you want, you can even use save-to-disk to export a copy of your library that looks exactly the way you like it, whatever that may be.


calibre, by design, requires exclusive control over the in-library copies of your books, and needs to be robust against bad filesystem design across three operating systems, including Windows ().

The truncated filenames are a hard requirement and will not change. The issue has been brought up before, trust me. See the above-mentioned sticky thread.

Last edited by eschwartz; 04-28-2015 at 03:55 PM.
eschwartz is offline   Reply With Quote
Old 04-28-2015, 05:09 PM   #13
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,782
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by nono01 View Post
I just want to use Caliber to download metadatas and batch rename the files properly. I don't want to be dependant of this software, despite its qualities. It is really brilliant and this is the only criticism i can make about it.
Repeat
Calibre renames files 'Properly'.
You use it.
You use its rules. It works as advertised. It is not broke. It will not change to meet your whim. Got it?
theducks is offline   Reply With Quote
Old 04-28-2015, 05:33 PM   #14
nono01
Junior Member
nono01 began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2015
Location: France
Device: none
Understood. Thanks you guys.

Quote:
Originally Posted by theducks View Post
Repeat
It will not change to meet your whim. Got it?
Quote:
Originally Posted by theducks View Post
Then you are not a user candidate for Calibre.
Are you serious ? Repeat : "I'm not suffering from any kind of sectarism".
Got it ?

Last edited by nono01; 04-28-2015 at 05:40 PM.
nono01 is offline   Reply With Quote
Old 04-28-2015, 06:36 PM   #15
LadyKate
Fanatic
LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.LadyKate ought to be getting tired of karma fortunes by now.
 
Posts: 515
Karma: 1470724
Join Date: Jul 2013
Location: Quebec CA
Device: android 4 (samsung tablet and asus tablet)
Quote:
Originally Posted by nono01 View Post
I just want to use Caliber to download metadatas and batch rename the files properly. I don't want to be dependant of this software, despite its qualities. It is really brilliant and this is the only criticism i can make about it.
But if you are going "under the hood" so to speak and renaming things at the os level you are breaking all links to calibre.

If you just want to download metadata then rename the files in batch and maintain the files at the os level you should use calibre to do those functions, save the resulting changes to disk then remove them from calibre if you don't wish to have that disk space used by calibre controlled named files.

I know when I first used calibre I had a natural resistance to not being able to control the naming of the files but I soon overcame that.

The best way for a control freak library owner such as myself is to treat all those files under my library directory as a black hole. It is the ultimate library backup.

I save my books etc that are going to my device in a "to android" folder which I can rename to my hearts content. The duplication of space is no big deal, I make sure these directories are on different drives and treated my calibre library as my backup.

I will say that the more I used calibre the more I was impressed with the functions of calibre and felt the need to delve into the directory structure less.
LadyKate is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Truncated Table of Contents Pete_D Writers' Corner 2 08-17-2012 03:45 AM
Truncated Titles honeybadger Amazon Kindle 5 01-16-2012 08:08 PM
Filenames to metadata, preserving filenames. nitrogun Calibre 5 09-13-2010 10:50 PM
Truncated file crutledge Sigil 11 09-13-2010 03:37 PM
HTML file added to library is truncated unexpectedly seth123abc Calibre 3 10-31-2009 03:57 PM


All times are GMT -4. The time now is 03:51 PM.


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