View Single Post
Old 03-03-2019, 09:52 AM   #11
rolgiati
Groupie
rolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the endrolgiati knows the complete value of PI to the end
 
Posts: 168
Karma: 31650
Join Date: May 2011
Location: Asuncion (Paraguay)
Device: In the house, 3 K3 in use, 4 more in storage, and a K5 for testing
Quote:
Originally Posted by kovidgoyal View Post
calibredb catalog test.csv --fields=title,authors
For more information:
calibredb catalog test.csv --help
Thank you kind sir, that did it perfectly.
Just adding now a mixture of sed, grep, sort and awk jobs to modify the formatting, and I'll have what I wanted / needed.

Something like
Code:
sed 's/,\"\"//p'| sed 's/\",\"/ \# /p' | sed 's/\",\"/ \/ /gp'| sed 's/\"//gp' | sort -u  | grep -v authors | awk -F# '{print $2}' > Catalog$LIB
seems to work well.
rolgiati is offline   Reply With Quote