Page 1 of 1

Convert and delete

Posted: 2010-01-12T06:16:15-07:00
by AlexF
Hi all.
Happy new year to all the members of this forum !

I want to create a Hot Folder in which one everybody will copy image with the extension *.tif, and I want to convert these files as JPEG with the best quality and then delete the TIFF after the conversion.
My computer is a MacPro with Snow Leopard

The script is :
mogrify -format JPG *.tif

My script will check the folder every minutes, so I want to remove the original TIFF from this folder. If I don't remove the files, the script will recreate all JPEG every minutes...
Is there any solution with ImageMagick ?

Thanks a lot !

Alexandre

Re: Convert and delete

Posted: 2010-03-15T10:10:30-07:00
by fmw42
no solution with IM that I know. but you can use unix rm to remove those files when you want