From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 14:27:23 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3D3316A41F for ; Tue, 19 Jul 2005 14:27:23 +0000 (GMT) (envelope-from no-html@jonathan-glaschke.de) Received: from mail.liberty-hosting.de (mail.liberty-hosting.de [195.225.132.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A82043D46 for ; Tue, 19 Jul 2005 14:27:23 +0000 (GMT) (envelope-from no-html@jonathan-glaschke.de) Received: from mail.liberty-hosting.de ([195.225.132.203]) by localhost (liberty-mail [195.225.132.203]) (amavisd-new, port 10024) with ESMTP id 45717-01 for ; Tue, 19 Jul 2005 16:27:18 +0200 (CEST) Received: from jogla.fbsd (p50893C7B.dip.t-dialin.net [80.137.60.123]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.liberty-hosting.de (Postfix) with ESMTP id 5BA08158BA4 for ; Tue, 19 Jul 2005 16:27:18 +0200 (CEST) Received: from jogla.fbsd (localhost [127.0.0.1]) by jogla.fbsd (8.13.3/8.13.3) with ESMTP id j6JGR8kv048175 for ; Tue, 19 Jul 2005 16:27:09 GMT (envelope-from jonathan@jogla.fbsd) Received: (from jonathan@localhost) by jogla.fbsd (8.13.3/8.13.3/Submit) id j6JGR8TT048174 for freebsd-questions@freebsd.org; Tue, 19 Jul 2005 16:27:08 GMT (envelope-from jonathan) Date: Tue, 19 Jul 2005 16:27:08 +0000 From: Jonathan Glaschke To: freebsd-questions@freebsd.org Message-ID: <20050719162708.GA46146@jogla.fbsd> References: <42DCCCC9.5080802@os.lv> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <42DCCCC9.5080802@os.lv> User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: by amavisd-new at mail.liberty-hosting.de Subject: Re: Delete files in directory... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jul 2005 14:27:23 -0000 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/