> A better way to zero out a file is by using '>' notation which will not > destroy any file descriptors attached to the file aside from being > extremely easy and short. > > for f in $(find . -name "whatever") > do > > $f > more processing on $f > done
Hey Jim thanks for that (though presumably the processing should be done on $f BEFORE zeroing it out? ;) I just love this *nix world - all these obscure abbreviations for things! cheers, Tony
