10-25-2010, 09:27 PM | #1 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Catalogs & Custom Fields
Hi:
I have two questions regarding the catalogs feature, I did a search but I could not find anything on what I wanted. This may be due to my inability to use the correct search terms so please forgive my ignorance: 1. Is it possible to use the catalog feature to export custom fields in a csv file? 2. Is it possible to change the books included in a csv catalog after the catalog is created? |
10-25-2010, 10:01 PM | #2 |
Well trained by Cats
Posts: 30,558
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Answer to #2: Yes,
Happens every time you re-make the catalog It only takes a few minutes unless you have a really slow system or a really large Library. |
Advert | |
|
10-26-2010, 12:04 AM | #3 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
|
10-26-2010, 04:49 AM | #4 |
Wizard
Posts: 4,812
Karma: 26912940
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
|
A CSV file is displayed and edited by another program like excel.
You can delete anything but cannot drag and drop from calibre Best to just make another catalogue. That way the catalogue is correct at the time you make it. |
10-26-2010, 01:30 PM | #5 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Ok, so does anyone know if it is possible to export data from the custom fields??
|
Advert | |
|
10-26-2010, 03:06 PM | #6 |
Grand Sorcerer
Posts: 12,143
Karma: 7908995
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
calibredb list --help
|
10-26-2010, 06:56 PM | #7 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
|
10-26-2010, 07:08 PM | #8 | ||
Grand Sorcerer
Posts: 12,143
Karma: 7908995
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Code:
Usage: calibredb.exe list [options] ... Options: ... -f FIELDS, --fields=FIELDS The fields to display when listing books in the database. Should be a comma separated list of fields. Available fields: (... field names printed) Default: title,authors. The special field "all" can be used to select all fields. Only has effect in the text output format. calibredb list -f *foo --separator , will output a (sort-of) CSV list of the foo field. And yes, you must replace the '#' with a '*' when naming custom fields. |
||
10-27-2010, 10:20 AM | #9 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Thank you I will try that, although I must say as a non-programmer, semi-intelligent end-user I am uncomfortable using the command line since I do not know what damage I could cause. I would hate for my inexperience or lack of expertise to break something. Out of curiosity if this is available via the command line, why is it not available via the GUI??
|
10-27-2010, 12:07 PM | #10 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Hi:
I tried to use the command line but I am receiving errors and I have no idea what they are or how to prevent them. Here is the output, is this due to the list being too big for the command prompt? |
10-27-2010, 02:57 PM | #11 |
Grand Sorcerer
Posts: 12,143
Karma: 7908995
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
The command box is running out of memory. The only way I know of to 'fix' that is to simplify the query. Use the --search option to limit the number of books in the list, then concatenate the results using some text editor. It will be easier if you make saved searches in the GUI, then refer to them in the command line using -s search:searchname. You will also save yourself some grief if you don't put spaces in the search names.
Another way to simplify the query is to ask for fewer columns, but that might make the query useless. |
10-27-2010, 03:05 PM | #12 |
creator of calibre
Posts: 44,738
Karma: 24967300
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Or redirect it to a text file by appending
> output.txt to the command |
10-27-2010, 03:46 PM | #13 |
eBook Junkie
Posts: 1,526
Karma: 1464018
Join Date: May 2010
Location: USA
Device: Kindle Fire 2020, Kindle PW2
|
Thanks guys but I think I will just have to stick with the GUI on this one and export the fields and then just manually input the custom fields as I have been doing. I appreciate you trying to help me with this, but in my limited experience and knowledge it might not be worth it to take this any further with the command prompt. After all I am just looking to get a csv file in order to import my new ebooks into my master database program which has all my books in it.
|
10-27-2010, 05:05 PM | #14 |
Jr. - Junior Member
Posts: 586
Karma: 2000358
Join Date: Aug 2010
Location: Alabama
Device: Archos, Asus, HP, Lenovo, Nexus and Samsung tablets in 7,8 and 10"
|
Thought I'd get in on this. This was my parameter list:
calibredb list --fields authors,title --sort-by=authors --separator=; --line-width=500 --ascending >F:\database.txt I can open the output of the above with PSPad and print it as is. This gives me what I want except I get an ID column that I can't get rid of and I can't figure a way to sort by both author and title. Any ideas? Regards - John |
10-27-2010, 05:55 PM | #15 | |
Wizard
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
|
Quote:
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating Catalogs (Archived) | GRiker | Library Management | 419 | 01-23-2011 04:16 PM |
Calibre beta available that fully integrates custom fields | chaley | Calibre | 206 | 10-03-2010 03:28 AM |
Query re: Custom columns & multiple libraries | jackie_w | Calibre | 4 | 10-03-2010 03:16 AM |
Sony collections and custom fields: how to handle duplicates? | chaley | Calibre | 13 | 09-02-2010 05:11 PM |
T?ol to create Structured catalogs? | itimpi | Calibre | 5 | 11-19-2008 12:30 PM |