Thread
:
Defining Metadata with "calibredb add" command line function.
View Single Post
12-10-2009, 08:00 PM
#
2
kovidgoyal
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Here's a BASH command line to do that
calibredb list | tail -n2 | head -n1 | cut -f1 -d " "
calibredb list by default sorts on timestam which means the last entry will have the id of the last added book
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS