[RULE] [Fwd: Re: Disk space used by a package?]

Ingo Lantschner ingo.lists at vum.at
Fri Oct 22 21:05:28 EEST 2004


On Fri, 22 Oct 2004 18:11:41 +0200, Ingo Lantschner <ingo.lists at vum.at>  
wrote:


> #!/bin/sh
>
> for rpm in `grep -v '^--'  
> /sl/slinky-0.4.05/filesystem/scripts/3/all_packages.disc1`
> do
>     rpm -qp --qf "[%{fssizes}+]" $rpm >> ~/tmp/ergebnis
> done;

@ Franz: May be this code can be implemented into Slinky to check in  
advance, if the partition is big enough.
All we would need is some function to add the many numbers from "ergebnis".

_______________________________________________
Rule Project HOME PAGE:  http://www.rule-project.org/en/
Rule-list at rule-project.org
http://mail.rule-project.org/mailman/listinfo/rule-list_rule-project.org



More information about the Rule-list mailing list