There is one truth (somewhere)

August 23, 2007

getting ride of old snapshots

Filed under: solaris, zfs

for i in `zfs list|grep $pool/$fs/$fs@$date/description+wildcard|cut -d" " -f1 -`;do zfs destroy $i;done

getting ride of packages

Filed under: Uncategorized

since some maintainers think they dont need to use catogories for the software they package even if they consists out of many (packages). this makes it hard to get ride of something like staroffice via "pkgrm".

something like "yes|pkgrm `pkginfo|grep staroffice|cut -d" " -f2 -`" helps in this case






















Get free blog up and running in minutes with Blogsome
Theme designed by Hadley Wickham