One small problem: in case catalog is given search params which no book satisfy, it fails (returns error exit code, prints error message). It makes scripting around this command somewhat troublesome (either I must ignore all calibredb errors, or fail in correct situations when simply nothing is found, or capture standard error and regexp it to detect this very case).
Is it a deliberate decision? What would be wrong in creating empty catalog?
|