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 05-02-2011, 11:43 PM   #1
Vince197
Junior Member
Vince197 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2011
Device: Kindle
file names column

Hi All. I am running calibre under linux and have a need to show the file name associated with each ebook.I created a new column but I can't figure out the query. Everything I try seems to only check the meta data. I am sure this has been asked before, but I couldn't see reference in any other posts.

many thanks

Vince197
Vince197 is offline   Reply With Quote
Old 05-03-2011, 12:00 AM   #2
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,894
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Vince197 View Post
Hi All. I am running calibre under linux and have a need to show the file name associated with each ebook.I created a new column but I can't figure out the query. Everything I try seems to only check the meta data. I am sure this has been asked before, but I couldn't see reference in any other posts.
I've seen it talked about twice (here and here) but there was no easy answer to do what you are trying to do.
DoctorOhh is offline   Reply With Quote
Advert
Old 05-03-2011, 04:03 AM   #3
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
What do you need the filename for? There might be an easier solution for what you're trying to do.
Manichean is offline   Reply With Quote
Old 05-03-2011, 09:08 AM   #4
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by Vince197 View Post
Hi All. I am running calibre under linux and have a need to show the file name associated with each ebook.I created a new column but I can't figure out the query.
Dwanthny's links have my comments on this subject, but to be clear, once the file is in Calibre, there is no longer any access to the original filename. You have to grab the filename at the original import stage using either the method I described in the first link, or by adding code to do it.

I'm assuming that "the file name associated with each ebook" is the original filename, not the filename that Calibre has assigned. If you want the latter, you can construct it from the metadata.

Last edited by Starson17; 05-03-2011 at 09:10 AM.
Starson17 is offline   Reply With Quote
Old 05-04-2011, 01:07 AM   #5
Vince197
Junior Member
Vince197 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2011
Device: Kindle
Many thanks Starson17 & dwanthny for the prompt replies.
I now have a much better idea of calibre and it's target application.
My need is for an simple ebook file manager to map the file names to the book names. NBD I will de-install and look for another tool.
pity...... calibre seems like a well written app.

thanks again

Vince197
Vince197 is offline   Reply With Quote
Advert
Old 05-04-2011, 01:29 AM   #6
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,894
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Vince197 View Post
Many thanks Starson17 & dwanthny for the prompt replies.
You're welcome.

Quote:
Originally Posted by Vince197 View Post
My need is for an simple ebook file manager to map the file names to the book names.
I am still curious why you need this feature. How do you see mapping the file name to the book name being of benefit to you? You were unable to find a way to do what you asked because Calibre lets you export the book with whatever file name you like on the fly.

Quote:
Originally Posted by Vince197 View Post
pity...... calibre seems like a well written app.
Pity? The pity is that Calibre may easily meet your needs, yet you are passing because of what seems on the surface to be a failure to understand Calibre's feature set.

I hope you find what you're looking for.
DoctorOhh is offline   Reply With Quote
Old 05-04-2011, 02:28 AM   #7
drMerry
Addict
drMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmos
 
drMerry's Avatar
 
Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
Quote:
Originally Posted by Vince197 View Post
Many thanks Starson17 & dwanthny for the prompt replies.
I now have a much better idea of calibre and it's target application.
My need is for an simple ebook file manager to map the file names to the book names. NBD I will de-install and look for another tool.
pity...... calibre seems like a well written app.

thanks again

Vince197
When do you want to map it.
A. Before it is copied to calibre (because the filename contains info about the book)
B. After it is calibre (because you want to link to it)


Both file-names can be used for mapping
A. Look into your settings. There you can tell calibre how to import books, and how to use the filename during import. You could just tell calibre not to use the metadata during import but just set the filename as author (you even can put a regex to split parts of the filename into author / series / ....

B. This is not a (big) problem either. All filenames are build in the same way:
CALIBREFOLDER/First Author/Title space (calibreid)/Title space - space First Author.Format
Author and title have max 40 characters
In the upper information " space " just means there is a space " " on that point
Strange characters are replaced e.g. é becomes e, non-letter-characters becomes _ (~,= etc)

So for B the only problem is you have to look for the calibre id. The rest is known by you
drMerry is offline   Reply With Quote
Old 05-04-2011, 03:47 AM   #8
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by drMerry View Post
B. This is not a (big) problem either. All filenames are build in the same way:
CALIBREFOLDER/First Author/Title space (calibreid)/Title space - space First Author.Format
Author and title have max 40 characters
In the upper information " space " just means there is a space " " on that point
Strange characters are replaced e.g. é becomes e, non-letter-characters becomes _ (~,= etc)
Well, that may be right, but you shouldn't mess about in Calibre's library folder unless terrible things happen to you. It is relatively easy to damage library integrity by messing around in the library folder. There's even a sticky explaining why you shouldn't.
Manichean is offline   Reply With Quote
Old 05-04-2011, 04:18 AM   #9
drMerry
Addict
drMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmosdrMerry has become one with the cosmos
 
drMerry's Avatar
 
Posts: 293
Karma: 21022
Join Date: Mar 2011
Location: NL
Device: Sony PRS-650
Quote:
Originally Posted by Manichean View Post
Well, that may be right, but you shouldn't mess about in Calibre's library folder unless terrible things happen to you. It is relatively easy to damage library integrity by messing around in the library folder. There's even a sticky explaining why you shouldn't.
Of-course.
Never change names there.
This is only a way to know the filename. So If you need a link to it or something from an extern program (link for direct reading or such)

Vince wanted a way to show file-names.
I do not know why he needs it, but this is the way to get that filename.
I had to put a warning though.
drMerry is offline   Reply With Quote
Old 05-07-2011, 03:25 AM   #10
Vince197
Junior Member
Vince197 began at the beginning.
 
Posts: 3
Karma: 10
Join Date: May 2011
Device: Kindle
Guys thanks for all your suggestions and comments. It's always nice to see a forum with such active contributers. I am a little amused though at the question of why would anybody want the original file name. It sounds a bit like an apple fanboy asking why anyone would want access to the CLI.
Just kidding guys...

I am setting up a server to manage about 10k of Gutenberg ebooks as part of a home library. The original file name is part of the Gutenberg naming system so should be preserved. When I get a chance, I'll probably just write a small app to link the file name to a subset of the meta data. Then publish to HTML.

thanks again

Vince197
Vince197 is offline   Reply With Quote
Reply

Tags
columns, filename, query


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cool-er file names Kooper35 Interead COOL-ER 5 02-02-2010 02:47 PM
File Names Vulcan Sony Reader 4 01-02-2009 04:03 PM
pdf to lrf with 2 column and 1 column pages in same file danielwille Sony Reader 3 11-12-2008 10:57 AM
File Names in Calibre jimbo Calibre 6 07-19-2008 09:21 PM
PRS-500 RTF file names phigdon Sony Reader Dev Corner 2 05-01-2007 11:46 PM


All times are GMT -4. The time now is 04:30 AM.


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