From owner-freebsd-pkg@FreeBSD.ORG Wed Jul 2 16:46:19 2014 Return-Path: Delivered-To: pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 66AD727D for ; Wed, 2 Jul 2014 16:46:19 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 48B252930 for ; Wed, 2 Jul 2014 16:46:19 +0000 (UTC) Received: from [192.168.200.204] (c-50-131-5-126.hsd1.ca.comcast.net [50.131.5.126]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 582D119360B for ; Wed, 2 Jul 2014 16:46:17 +0000 (UTC) Subject: deleting poudriere logs From: Sean Bruno Reply-To: sbruno@freebsd.org To: pkg@FreeBSD.org Content-Type: text/plain; charset="us-ascii" Date: Wed, 02 Jul 2014 09:46:19 -0700 Message-ID: <1404319579.1059.38.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jul 2014 16:46:19 -0000 I'm using nginx+poudriere logs to monitor builds. I'd like to nuke old logs and such, but I'm not sure what the graceful way to do this. I see a .data.json file in /usr/local/poudirere/data/logs/bulk along with the dirs for my previous builds. drwxr-xr-x 3 root wheel 4 Jun 22 18:33 .. drwxr-xr-x 5 root wheel 7 Jun 24 15:04 11arm32-default drwxr-xr-x 30 root wheel 32 Jul 1 14:26 11mips32-default drwxr-xr-x 11 root wheel 13 Jul 1 19:52 11mips64-default drwxr-xr-x 11543 root wheel 11543 Jul 2 13:33 latest-per-pkg drwxr-xr-x 12 root wheel 14 Jul 2 16:45 11armv632-default -rw-r--r-- 1 root wheel 1689 Jul 2 16:45 .data.json drwxr-xr-x 7 root wheel 8 Jul 2 16:45 . I'd like to purge old logs, but I have a job running now. Is there a better/betterest way of claning things other than rm -rf? sean