I realize that I am a bit of a late comer to this discussion. I use this method to remove old files. You guys might gasp in horror, but it seems to work. The actual script is a bit longer. I do this on RELENG_5 but that shouldn't matter. # make buildworld # touch time_marker # make installworld # find $dir \! -path $includes_and_others \! -type d \! -newer time_marker -exec rm {} \; I only recently started doing this on a system that I mostly compile software on. I did end up having to remake a port that was linked to a library that was deleted. That's no biggy on a hobby box. My motivation was to delete items that I had NO_* (bind, sendmail) options for in make.conf. Later, JasonReceived on Sun Oct 24 2004 - 14:38:39 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:19 UTC