From owner-freebsd-questions@FreeBSD.ORG Mon Mar 3 18:59:05 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE2591065677 for ; Mon, 3 Mar 2008 18:59:05 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mail.bsdforen.de (bsdforen.de [212.204.60.79]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE158FC13 for ; Mon, 3 Mar 2008 18:59:05 +0000 (UTC) (envelope-from kamikaze@bsdforen.de) Received: from mobileKamikaze.norad (nat-wh-1.rz.uni-karlsruhe.de [129.13.72.169]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.bsdforen.de (Postfix) with ESMTP id 04B7F405BB3; Mon, 3 Mar 2008 19:59:03 +0100 (CET) Message-ID: <47CC4A76.7010600@bsdforen.de> Date: Mon, 03 Mar 2008 19:59:02 +0100 From: Dominic Fandrey User-Agent: Thunderbird 2.0.0.12 (X11/20080303) MIME-Version: 1.0 To: John Nielsen References: <740F46FB-B946-408F-8404-7C25E6273F43@poughkeepsieschools.org> <256113233.20080302095043@rulez.sk> <200803031245.31936.lists@jnielsen.net> <200803031251.03136.john@jnielsen.net> In-Reply-To: <200803031251.03136.john@jnielsen.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: "B. Cook" , Daniel Gerzo , freebsd-questions@freebsd.org Subject: Re: looks like success 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: Mon, 03 Mar 2008 18:59:06 -0000 John Nielsen wrote: > On Monday 03 March 2008 12:45:31 pm John Nielsen wrote: >> On Sunday 02 March 2008 03:50:43 am Daniel Gerzo wrote: >>> Hello B., >>> >>> Thursday, February 28, 2008, 9:27:03 PM, you wrote: >>>> Hello all, >>>> >>>> make delete-old (took a long time to do by hand) >>>> and make delete-old-libs (went rather quickly) >>> if you really want to delete all things: >>> >>> # yes | make delete-old >> While I've seen this suggestion before (and it's a very unix-y way to >> do it), the "canonical" method (from build(7)) is to run >> make -DBATCH_DELETE_OLD_FILES delete-old >> >> What I'd like to see (although I realize this isn't the correct >> forum..) is a make target that produces a list of files that _would_ be >> deleted, which the admin could then review and approve all or remove >> individual files to be preserved. But until I turn this into a useful >> PR or a nice request on a different list just consider it a rant. :) > > Heh.. I didn't read the manpage I just referred to closely enough. There's > a check-old (and a check-old-libs) target that makes just such a list. > > JN Thanks for that. I've been using # yes no | make delete-old to get that list. Well, my way still has the claim on being more amusing.