-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thu, 19 Oct 2000, Turgut Kalfaoglu wrote: > > Let's assume that you have successfully ignored the patches, > and announcements, and ended up with a system (Mandrake 7.1) > that has over 5 MILLION files on its /var/log/mail and /news directories. > > Let's also assume that when you type: > [root@db2 mail]# rm * > you get: > bash: /bin/rm: Argument list too long > > any ideas what you can do to save your servers? :) Use find to delete the files one at a time. This will take a while, but it'll get the job done. Here is a sample find command that might do the trick for /var/log/mail: find /var/log/mail -ctime +3 -exec rm {} \; - -- Jim Holthaus (pronunciation: HOLT house) [EMAIL PROTECTED] PGP Public Key at http://www.holthaus.com/jim/pgpkey.html Learn about PGP at http://www.holthaus.com/jim/pgp.html -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.1 iQA/AwUBOe8Pun3IcJJ+eC/CEQJZBACg4OBND3URjBUZEv26Wy1Q3kCLO/oAnAjm zCERmPkgX23ixqfe3cFeWRKM =rm6t -----END PGP SIGNATURE-----
Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.