--------------------------------------------
>>On Mon, 11/17/14, Warren Block <wbl...@wonkity.com> wrote:


 
 >>Actually, portmaster can do
 >>that also:
 >>portmaster -t -y
 >>-clean-distfiles
 _______________________________________________
 Test first"   I did not want the majority deleted...

#portsclean -DD -n | tee -a /gz_files
#sed -i bak 's.Delete \/usr\/ports\/distfiles\/..g'   /gz_files
..... fifteen minutes on the web to find that line above escaping the path
# grep / /gz_files     | less   # in another xterm, /bin/rm -rf the extra 
directories
# grep -v / /gz_files | grep bz2 | xargs -J % /bin/rm -iv %    ... tests it, 
check output
# ......................................................................-v %    
.... does the above
Repeat the immeditate two lines
above (-iv then -v ) for gz, -i zip, xz, 
(the latter I forgot BTW) and that should be most
of them. I deleted 500 files that way, so am done for the year.
.........................................................................
Easier posting here than in the forum...
Pardon any typos.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to