How to command line rotate an image?

2010-11-11 Thread joe
. How can I use the 'convert' utility to rotate an image? After searching the 'net for example syntax, the only thing I have been able to find is: convert "-rotate90" filename.jpg ... which did not work. I've tried a dozen other variations to no avail. One variation I tried was this: convert file

Re: How to command line rotate an image?

2010-11-11 Thread Dazed_75
convert -rotate 90 x.png x.png from http://xahlee.org/img/imagemagic.html and http://www.imagemagick.org/script/convert.php On Thu, Nov 11, 2010 at 4:39 PM, wrote: > . > How can I use the 'convert' utility to rotate an image? > > After searching the 'net for example syntax, the only thing I hav

Re: How to command line rotate an image?

2010-11-11 Thread Mike Ballon
I don't know who to rotate the image, but to delete your file you need to use the inode. This is off the top of my head so if the synax is wrong you can just google it. ls -il "-rotate90" find . -inum 123456 -exec rm -i {} \; On 11/11/10, j...@actionline.com wrote: > . > How can I use the 'con

Re: How to command line rotate an image?

2010-11-11 Thread Matt Graham
From: Mike Ballon > I don't know who to rotate the image, but to delete your file you need > to use the inode. No, you don't. > ls -il "-rotate90" > find . -inum 123456 -exec rm -i {} \; rm ./-rotate90 rm -- -rotate90 and probably 3 or 4 other ways to do things like that. The Unix Gurus f

Re: How to command line rotate an image? SOLVED

2010-11-12 Thread joe
Thanks Larry. That did the trick. > convert -rotate 90 x.png x.png > > from http://xahlee.org/img/imagemagic.html > and http://www.imagemagick.org/script/convert.php > > On Thu, Nov 11, 2010 at 4:39 PM, wrote: >> How can I use the 'convert' utility to rotate an image? ---

Removing a file whose name starts with '-', was Re: How to command line rotate an image?

2010-11-12 Thread Dale Farnsworth
> I don't know who to rotate the image, but to delete your file you need > to use the inode. This is off the top of my head so if the synax is > wrong you can just google it. > > ls -il "-rotate90" > > find . -inum 123456 -exec rm -i {} \; The above suggestion doesn't work because the ls command

Re: Removing a file whose name starts with '-', was Re: How to command line rotate an image?

2010-11-12 Thread Mike Ballon
OK, this is the last time I answer from the bar :) I didn't mean that using inodes was the "only" way, I just knew it would work. I also stated that the syntax might not be correct as I didn't test it. [n...@hostd1 ~]$ ls -li total 64 31758 -rw-rw-r-- 1 user group 4549 Oct 21 14:50 text.html [n.

Re: Removing a file whose name starts with '-', was Re: How to command line rotate an image?

2010-11-12 Thread Kevin Fries
Put the filename in single (not double) quotes. Kevin Fries On Nov 12, 2010 8:26 AM, "Mike Ballon" wrote: OK, this is the last time I answer from the bar :) I didn't mean that using inodes was the "only" way, I just knew it would work. I also stated that the syntax might not be correct as I d