@kovidgoyal
When using a bash script to add books there seems no argument with caliberedb to delete book after successful import... Also there dosnt seem a way of getting the errorcode of the 'calibredb add' command... for example if i try and add a duplicate book to my library via 'calibre add' it will complain that i rightly need to use the 'duplicates' or 'automerge' options but the command still finishes with an errorcode 0 (successful)
Obviously, if i'm to remove the source book from my watchfolders in my script i need to know whether the book actually successfully added or not prior to deleting it... any ideas?
|