Convert and delete

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
AlexF

Convert and delete

Post 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
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Convert and delete

Post by fmw42 »

no solution with IM that I know. but you can use unix rm to remove those files when you want
Post Reply