Hi Gabor, Kiss Gabor (Bitman) schrieb: > I think these lines > cd $dir > db4.6_archive | xargs --no-run-if-empty rm -f > cd - > might be replaced with > db4.6_archive -h $dir -d
-d is not what you want. It removes the logfiles which can be deleted
after backing them up. What we want is to remove empty files. So your
line would be equivalent to:
db4.6_archive | xargs rm -f
The correct replacement I think is
db4.6_archive -h $dir | xargs --no-run-if-empty rm -f
--
============================================================================
Christoph Martin, Leiter der EDV der Verwaltung, Uni-Mainz, Germany
Internet-Mail: [EMAIL PROTECTED]
Telefon: +49-6131-3926337
Fax: +49-6131-3922856
signature.asc
Description: OpenPGP digital signature

