I have two problems I was hoping to get help with. Both pertain to the attempted execution of the following commands:
(1):
Code: Select all
identify -format "%f %w %h %b \n" 'jewelclub_[a-z0-9]{1,}_(small|medium|large|zoom)\.jpg'
Code: Select all
identify -format "%f %w %h %b \n" 'jewelclub_*\.jpg'
Want to match: jewelclub_abc123_large.jpg
Want to ignore: jewelclub_ABc324_large.jpg, random_abc123_large.jpg, garbled-CrAp___.jpg
First, was hoping to get guidance on using a regular expression inside the identify command. It seems some expressions work (#2) while others don't (#1) and I'm not sure if the command (or the bash shell) takes POSIX (BRE? ERE?) or Perl regular expressions. Either way, was hoping to get guidance on the right syntax to use.
Second, when executing identify on a set of images I'm getting some strange errors. They look like this:
Code: Select all
identify: delegate failed `"html2ps" -U -o "%o" "%i"' @ error/delegate.c/InvokeDelegate/1055.
identify: unable to open image `/var/folders/nb/d4q1xhk9305gzqw6d43flx1c00010n/T/magick-thKKWnCo': No such file or directory @ error/blob.c/OpenBlob/2617.
identify: unable to open file `/var/folders/nb/d4q1xhk9305gzqw6d43flx1c00010n/T/magick-thKKWnCo': No such file or directory @ error/constitute.c/ReadImage/583.
Thanks in advance!