Weird command won't execute in UNIX batch shell error

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
myoglu
Posts: 6
Joined: 2013-11-25T07:17:49-07:00
Authentication code: 6789

Weird command won't execute in UNIX batch shell error

Post by myoglu »

Hi!
When typing in this command in Osx shell I get this ">" error:

for i in *.tif; do convert "$i" path/grid-35by35.png -depth 8 -compose Over -composite “35x35$i";done
>

But, when I type in:

for i in *.tif; do convert "$i" path/Double-lattice-50x50.png -depth 8 -compose Over -composite "50x50$i";done

It works!

The to different .png files are identical in size/type etc. So what is going on here?
I have tried everything, changing versions, changing paths, changing names etcetc. Nothing works...

Please help.
myoglu
Posts: 6
Joined: 2013-11-25T07:17:49-07:00
Authentication code: 6789

Re: Weird command won't execute in UNIX batch shell error

Post by myoglu »

I FOUND IT!!! Sooooo annoying:

"

vs




In one place.. Can you spot it? Auto-correction sucks b***ls
Post Reply