Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jul 2005 16:27:08 +0000
From:      Jonathan Glaschke <no-html@jonathan-glaschke.de>
To:        freebsd-questions@freebsd.org
Subject:   Re: Delete files in directory...
Message-ID:  <20050719162708.GA46146@jogla.fbsd>
In-Reply-To: <42DCCCC9.5080802@os.lv>
References:  <42DCCCC9.5080802@os.lv>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jul 19, 2005 at 12:50:01PM +0300, Casper wrote:
> 
>  Hi,
> 
>  Sorry, simple, stupid q. How to make that what come in directory 
> /usr/files/ for example are erased? Or only put in cron after while do 
> "rm /usr/files/*"?
> 
> tnx,
> Casper
> 
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

Yes, using cront to do that is possible and i think there is no reason against
cron.

you need "rm -rf /usr/files/*" if there are directories too in /usr/files..

Jonathan

-- 
 | /"\   ASCII Ribbon   | Jonathan Glaschke - Lorenz-Görtz-Straße 71,
 | \ / Campaign Against | 41238 Mönchengladbach, Tel: 02166-265876
 |  X    HTML In Mail   | Mobil: 0162-3390789, ICQ: 231021883
 | / \     And News     | http://jonathan-glaschke.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050719162708.GA46146>