From owner-freebsd-questions@FreeBSD.ORG Thu Jul 22 00:53:31 2010 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 1E1DC1065678; Thu, 22 Jul 2010 00:53:31 +0000 (UTC) (envelope-from claudiu.vasadi@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 817568FC17; Thu, 22 Jul 2010 00:53:30 +0000 (UTC) Received: by wwe15 with SMTP id 15so2572512wwe.31 for ; Wed, 21 Jul 2010 17:53:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=lHD43yXHmDAvE99oFu+mU9mGAF0ljGXQ1ouW/WElWrg=; b=qvkwUsqkIUG4Idw2/8gM7ODwN4OT1QGTBVhPdhys3OpEr4ntOZ4VmTPK2PDpXdL2oE QgrJVKavDkqhr+YYZSj/IpK+ArGYvUTOcdge/CnLGtiCX49uWPGen37Se9mSRn0fkE+h GbrzfH4Im5eZutoEj6RvkBtcMvE5EhC+myPLw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qINmZurgLxSvkZ4RKbOAXAdn+lJ+TyA/Q0dbCHmMNxveBRtOkCWTtyy+E4OXJKQLDu U9oTLKUjDBMIODwmOjgGSbV4N9PalsWY7hO7d7c8x8BJ1an0c1scncaNfha1WWjnTjUU vfPp3vAiAY36V3b4br2SAitdUU1Z7mX8jOsdY= MIME-Version: 1.0 Received: by 10.216.87.208 with SMTP id y58mr973382wee.82.1279760006993; Wed, 21 Jul 2010 17:53:26 -0700 (PDT) Received: by 10.216.12.209 with HTTP; Wed, 21 Jul 2010 17:53:26 -0700 (PDT) In-Reply-To: References: <4C478D04.6020005@FreeBSD.org> Date: Thu, 22 Jul 2010 02:53:26 +0200 Message-ID: From: claudiu vasadi To: glarkin@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: rmconfig from all ports tree 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: Thu, 22 Jul 2010 00:53:31 -0000 in the meantime I wrote the following quick script: #!/bin/sh # Create a list of all dir's find /usr/ports/ -depth 2 -type directory -print > ports_structure # for each discovered dir, cd into it and do rmconfig file=ports_structure while read dr1 do cd $dr1;make rmconfig done<$file very simple script if you ask me. tested and working. Any suggestions/ideas/opinions are welcomed.