|
From: Régis R. <reg...@bp...> - 2011-08-29 12:09:47
|
Under linux, you can try something like :
comm -13 <(sort -u <(grep -h "/buildout-cache/" $PLONE_DIR/z*/bin/* | grep
-v ^import | sed 's/[^/]*\(.*\.egg\).*/\1/) <(awk -vp=$PLONE_DIR
'/^__buildout_signature__/{for(i=3;i<=NF;i++)print
p"/buildout-cache/eggs/"$i}' $PLONE_DIR/z*/.installed.cfg)) <(ls -d
$PLONE_DIR/buildout-cache/eggs/* | egrep -v
"/(buildout.dumppickedversions)-") | xargs rm -rf
and re-run all buildouts.
The "z*" pattern suppose instances have names beginning with "z"
--
View this message in context: http://plone.293351.n2.nabble.com/How-to-correctly-clean-up-buildout-cache-folder-tp6710485p6737425.html
Sent from the General Questions mailing list archive at Nabble.com.
|