From owner-freebsd-hackers@FreeBSD.ORG Thu May 15 20:53:44 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 22A6B37B401 for ; Thu, 15 May 2003 20:53:44 -0700 (PDT) Received: from rwcrmhc52.attbi.com (rwcrmhc52.attbi.com [216.148.227.88]) by mx1.FreeBSD.org (Postfix) with ESMTP id A127A43F75 for ; Thu, 15 May 2003 20:53:43 -0700 (PDT) (envelope-from DougB@freebsd.org) Received: from master.dougb.net (12-234-22-23.client.attbi.com[12.234.22.23]) by attbi.com (rwcrmhc52) with SMTP id <200305160353430520083gdie>; Fri, 16 May 2003 03:53:43 +0000 Date: Thu, 15 May 2003 20:53:42 -0700 (PDT) From: Doug Barton To: Jason Andresen In-Reply-To: <3EC3B902.3070202@mitre.org> Message-ID: <20030515204437.N11320@znfgre.qbhto.arg> References: <20030515152046.GB71411@atrbg11.informatik.tu-muenchen.de> <20030515153343.GC71411@atrbg11.informatik.tu-muenchen.de> <3EC3B902.3070202@mitre.org> Organization: http://www.FreeBSD.org/ X-message-flag: Outlook -- Not just for spreading viruses anymore! MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-hackers@freebsd.org cc: jeev cc: 'Kris Kennaway' Subject: Re: cvsupd X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 May 2003 03:53:44 -0000 On Thu, 15 May 2003, Jason Andresen wrote: > Can't you run something like (note, I write in zsh, convert to whatever > language you like): Far be it from me to discourage your creativity, but you could condense your script down to: find /usr/ports -name README.html -delete find /usr/ports -type d -empty -delete You might want to run cvsup in between, to let it delete any directories it knows about first, but that's not essential. I do a lot of command line shell scripting myself, so it's definitely a valuable tool, but sometimes it helps to know that there are other pre-packaged solutions available. HTH, Doug -- This .signature sanitized for your protection