Thread: calibredb list
View Single Post
Old 10-12-2011, 10:12 AM   #5
iomari
Zealot
iomari doesn't litteriomari doesn't litter
 
Posts: 146
Karma: 100
Join Date: Aug 2003
Location: Nigeria
Device: galaxy tab
The following gives me a list of all formats in my database without repeats:

sqlite3 path_to_/metadata.db "select * from data;" | cut -d "|" -f 3 | sort | uniq

Now I can feed that list into the script I'm writing to export my books to folders based on formats. I'll post it when I finish it.
Of course this is my solution for linux. :-)
iomari is offline   Reply With Quote