Date: Thu, 22 Jul 2010 02:53:26 +0200 From: claudiu vasadi <claudiu.vasadi@gmail.com> To: glarkin@freebsd.org Cc: freebsd-questions@freebsd.org Subject: Re: rmconfig from all ports tree Message-ID: <AANLkTill3bVDQk3dZs2Sn5Z9NPreB3pJIMW2_79GXafa@mail.gmail.com> In-Reply-To: <AANLkTimqY2ZqdXMUG0ulWB4LpyaB-VF7eJ_6la2cf4EQ@mail.gmail.com> References: <AANLkTimgAAZPQ6HBB7gjYd1AdjkFgteTuCDHG1HAc-vJ@mail.gmail.com> <AANLkTilrDpZrfZndEXBl0tTOcvWTSH5PNyZk0KML-JTW@mail.gmail.com> <4C478D04.6020005@FreeBSD.org> <AANLkTimqY2ZqdXMUG0ulWB4LpyaB-VF7eJ_6la2cf4EQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTill3bVDQk3dZs2Sn5Z9NPreB3pJIMW2_79GXafa>