On Wed, 2006-08-09 at 13:23 +1200, Hadley Rich wrote:

> #!/bin/bash
> if [ -f the.file ]; then
>       echo "File exists"
> fi

Great, thanks!

> Not off the top of my head but if you have root the you could `chattr +i 
> the.file` and then the process that's trying to delete it will bork.

No root on this server, but thanks for the suggestion. 

Reply via email to