while inotifywait -e close somefile ; do
        <lots of stuff>
        rm foo/*.tif
done


The problem is that i need to make sure that foo/*.tif have closed
before I remove them, or strange things happen.

I don't know what the names of the tif files are going to be, although I
know they will in directory foo/

Is there a way of waiting until all files in foo/ are closed?

tia

David

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to