View Single Post
Old 10-14-2014, 03:36 AM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by theducks View Post
that pattern looks just weird to me

(I don't normally use calibres CLI)

The epub on the end ? shouldn't that be *.epub (assumes you only want epub)
Does calibredb do file/folder (wildcard) recursion?
filename globbing is handled by the shell. (and will match the . in .epub, but usually we try to be more specific. )

And globbing will not recurse directories with the double-star, unless you activate
Code:
shopt -s globstar
http://wiki.bash-hackers.org/syntax/expansion/globs
eschwartz is offline   Reply With Quote