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 09-25-2013, 09:31 PM   #1
jhs75
Junior Member
jhs75 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2013
Device: none
Import Filename

When I add new books to the Calibre library, I want to maintain the same name. I don't want to have the author or Unknown, appended to the end of the name. I like the names I provided and want to maintain them. I just don't see a simple "use filename" option. I have looked through the settings and Import and Add, but nothing I have set results in the same name being used - something is always added as the author.

Also, how do I control the length of the filename - the system is automatically truncating longer book titles.

Thanks
jhs75 is offline   Reply With Quote
Old 09-25-2013, 09:59 PM   #2
Sabardeyn
Guru
Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.Sabardeyn ought to be getting tired of karma fortunes by now.
 
Sabardeyn's Avatar
 
Posts: 644
Karma: 1242364
Join Date: May 2009
Location: The Right Coast
Device: PC (Calibre), Nexus 7 2013 (Moon+ Pro), HTC HD2/Leo (Freda)
jhs,
The really short answer, for all your questions: You can't.

Calibre needs a certain mandatory file structure in order to be able to automate some of the processes which it has become famous for. So calibre uses an ../AuthorName/BookName/booktitle - authorname.ext structure.

Which means you always need an author. Even if it's only a dummy name, you must have an author. Because no operating system will allow you to create a folder called null/non-existent within which you would need to place the book.

The book name is based on whatever is entered into the database so you can control that with one exception: total path length cannot exceed about 250 characters. Once you get into that range, calibre will start to truncate things. Note that this is a Windows (any version that runs the FAT or NFS file systems) limitation. Other OSes do not have this inherent limitation so their path and filenames may not be truncated.

For what it's worth, you will find after some time using calibre, that you really don't need to muck about in the library directly. It's kind of like a bank vault, keeping your ebooks secure. Whenever you want to read a book, calibre will send a copy to your device. Besides using the ebook files directly, whether manually or through some other program, is likely to cause damage to the file structure and the calibre database eventually.

Last edited by Sabardeyn; 09-25-2013 at 10:05 PM.
Sabardeyn is offline   Reply With Quote
Advert
Old 09-25-2013, 10:46 PM   #3
Adoby
Handy Elephant
Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.Adoby ought to be getting tired of karma fortunes by now.
 
Adoby's Avatar
 
Posts: 1,737
Karma: 26785684
Join Date: Dec 2009
Location: Southern Sweden, far out in the quiet woods
Device: Samsung Galaxy Tab S8 Ultra
Also see this sticky post:

https://www.mobileread.com/forums/sho...d.php?t=119175
Adoby is offline   Reply With Quote
Old 09-25-2013, 11:17 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: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Sabardeyn View Post
Note that this is a Windows (any version that runs the FAT or NFS file systems) limitation. Other OSes do not have this inherent limitation so their path and filenames may not be truncated.
I think you mean NTFS - NFS is another file system, most often found on Sun systems.

You're right in saying the file path length restriction is Windows issue, but its not an NTFS issue - the legacy Windows API's are the issue. Natively NTFS supports file paths up to 32K bytes, which I think is the same as HFS+ (apple) and Ext3 (linux) and NFS.

So what's the use of that you may ask, NTFS only runs on Windows

Before MS consumerised NT and called it Windows 2000, NTFS was available as a file system that could be installed on other OS's. In those environments it didn't carry the legacy Windows API baggage. So why does the API crud still exist, the ill-fated Longhorn (aka WinFS) can take some of the blame. IIRC the 256ish byte restriction might have been inherited from HPFS - which was the OS/2 file system - so some blame can perhaps be sheeted to home to MS's great aunty - IBM.

BR

Last edited by BetterRed; 09-25-2013 at 11:19 PM.
BetterRed is offline   Reply With Quote
Old 09-26-2013, 01:02 AM   #5
jhs75
Junior Member
jhs75 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Sep 2013
Device: none
Thanks
jhs75 is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Import Author And Title From Filename & Import Other Tags And Cover From File DazJWood Library Management 25 10-06-2021 10:18 AM
Import Date - Auto import ljunkie Calibre 2 09-17-2012 07:02 PM
Import failed Error:404 when attempting to import from Calibre to Stanza dvond Apple Devices 0 05-13-2011 03:00 PM
What is the default regular expression for filename import? palex481 Calibre 2 03-22-2009 06:11 PM


All times are GMT -4. The time now is 05:26 PM.


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