more functionality
added "cp -ap $f $f.tmp" to preserve the properties (i.e. executable) of
the
old
file