From: miljenko Date: Wed, 14 May 2008 13:53:23 +0000 (+0000) Subject: Simple shell script to cleanup all vimages (hierarchical vimages are not supported) X-Git-Url: https://git.entuzijast.net/?a=commitdiff_plain;h=47c9c0a0b82a87cb6042b21c8b0e39df3c33ad90;p=imunes.git Simple shell script to cleanup all vimages (hierarchical vimages are not supported) Bug found by: Submitted by: Reviewed by: Approved by: Obtained from: --- diff --git a/cleanupAll b/cleanupAll new file mode 100755 index 0000000..b447ac8 --- /dev/null +++ b/cleanupAll @@ -0,0 +1,12 @@ +#! /bin/sh + +##### +# Vimage cleanup - "flat", no hierarchical vimages +## + +eids=`vimage -l | grep -v "^ " | tr -d ':"' | grep -v '^\.$'` + +for e in $eids; do + imunes -b -e $e +done +