Daniel Roesler on wrote...
| Hey everyone, I'm new.
|
| I just switched to Ubuntu 7.04 from XP, and am having a problem with bash=
| and
| imagemagick. When I want to resize some pictures with the command "mogrif=
| y
| -resize 800x600 *.jpg", I get an error from bash "bash: *.jpg: ambiguous
| redirect".
|
| I looked on the imagemagick website, and there is an example for mogrify =
| that
| uses an asterisk (*.jpg). Is the asterisk just for XP commands? Does anyo=
| ne
| know the equivalent for bash?
|
Bash is trying to expand the "*.jpg" and failing.
An ambiguous redirect is a problem with a symbolic link.
Try having IM do the expandsion, or FIX the link.
mogrify -resize 800x600 '*.jpg'
Also check using...
ls *.jpg
Anthony Thyssen ( System Programmer ) <[EMAIL PROTECTED]>
-----------------------------------------------------------------------------
Applications Programming is a race between software engineers striving
to build bigger and better idiot-proof programs, and the Universe trying
to produce bigger and better idiots. So far, the Universe is winning.
-- Rick Cook, "The Wizardry Compiled"
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users