From owner-freebsd-questions Thu Jul 12 11: 2:32 2001 Delivered-To: freebsd-questions@freebsd.org Received: from Veronica.wmol.com (veronica.wmol.com [208.242.83.241]) by hub.freebsd.org (Postfix) with ESMTP id 1C03237B406 for ; Thu, 12 Jul 2001 11:02:25 -0700 (PDT) (envelope-from david@phobia.ms) Received: from rain.hill.hom (081bc122.chartermi.net [24.247.81.122]) by Veronica.wmol.com (Vircom SMTPRS 4.6.189) with ESMTP id ; Thu, 12 Jul 2001 14:00:51 -0400 Date: Thu, 12 Jul 2001 14:02:22 -0400 From: David Hill To: so@server.i-clue.de Cc: gardhy@usvisanews.com, freebsd-questions@FreeBSD.ORG Subject: Re: File Management... Message-Id: <20010712140222.6b5f1ca7.david@phobia.ms> In-Reply-To: <3B4DE52D.2083D886@i-clue.de> References: <3B4DA0C9.8068.2DD41A4B@localhost> <3B4DE52D.2083D886@i-clue.de> X-Mailer: Sylpheed version 0.5.0 (GTK+ 1.2.10; i386-unknown-freebsd4.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 12 Jul 2001 19:58:05 +0200 Christoph Sold wrote: > > > "Gardhy M. Saint-Vil" schrieb: > > > > Hello Everyone, > > > > Would anyone know how to delete files based on the date modified > > timestamp of files? > > find /your/path/to/clean/up -date 3 -rm > > man find is your friend. > > HTH > -Christoph Sold > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > both -date and -rm are not options Try this example find /path -name *.txt -mtime argument | xargs rm -f - David To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message