rmconfig from all ports tree

claudiu vasadi claudiu.vasadi at gmail.com
Thu Jul 22 00:53:31 UTC 2010


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.


More information about the freebsd-questions mailing list