[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] Can I delete these files?



Personally, I like 

 % cp /dev/null /home/spool/mail/root

The cp of null writes into the contents thereby deleting them without
changing any file persmissions, ownership, etc etc..

-ed-

> -----Original Message-----
> From: cobalt-users-admin@xxxxxxxxxxxxxxx [mailto:cobalt-users-
> admin@xxxxxxxxxxxxxxx] On Behalf Of Oleg Volkov
> Sent: Thursday, August 29, 2002 10:12 AM
> To: cobalt-users@xxxxxxxxxxxxxxx; cobalt-users@xxxxxxxxxxxxxxx
> Subject: RE: [cobalt-users] Can I delete these files?
> 
> > Can I just delete the files in question - or must I delete the
contents
> > - if so what is the best method for cleaning out a mailbox.
> >
> > Kind Regards,
> >
> > Ian C. Walmsley
> >
> > First Hosting
> > t. 0845 345 8888
> > f. 0870 45 81213
> 
> # echo > /var/spool/mail/root
> etc.
> 
> Oleg
> --
> SHUNRA Software Ltd.
> http://www.shunra.com
> 
> +972-9-7643743
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users