From owner-freebsd-questions  Sun Dec  5  9:23:43 1999
Delivered-To: freebsd-questions@freebsd.org
Received: from mero-08a.merowingia.uni-kl.de (mero-08a.merowingia.uni-kl.de [131.246.135.8])
	by hub.freebsd.org (Postfix) with ESMTP id 7627F14CF7
	for <FreeBSD-Questions@FreeBSD.org>; Sun,  5 Dec 1999 09:23:09 -0800 (PST)
	(envelope-from sold@mero-08a.merowingia.uni-kl.de)
Received: (from sold@localhost)
	by mero-08a.merowingia.uni-kl.de (8.9.3/8.9.3) id SAA02948;
	Sun, 5 Dec 1999 18:22:53 +0100 (CET)
	(envelope-from sold)
From: Christoph Sold <cs@cheasy.de>
Message-ID: <14410.40791.863940.609567@mero-08a.merowingia.uni-kl.de>
Date: Sun, 5 Dec 1999 18:22:31 +0100 (CET)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
To: FreeBSD-Questions@FreeBSD.org
Reply-To: cs@cheasy.de
Subject: How to delete backups N days old?
X-Mailer: VM 6.72 under 21.1 "20 Minutes to Nikko" XEmacs Lucid (patch 2)
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
X-Loop: FreeBSD.ORG

I do regular backups of a subtree into some tarballs on another
volume. The tarballs are named including the date
(e.g. bup-19991205.tar.bz2). Those files accumulate over a period of
several days, then get written out to tape. After that, I want to
delete backup tarballs older than, say, one week.

Looking for an option in find, I went up blank. (Yes, you may specify
files older than another given file, but that=B4s not what is needed
here. I want to create a script automating the process, leaving a
couple of newer tarballs online.)

Any ideas really appreciated
-Christoph Sold
---
P.S: Pls reply to the Reply-To address above (cs@cheasy.de), since the
account I am writing this on has only a fake MX.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message