[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".
_______________________________________________
Original home page of the RULE project: www.rule-project.org
Rule-list at rule-project.org
http://mail.rule-project.org/mailman/listinfo/rule-list_rule-project.org
This full static mirror of the Run Up to Date Linux Everywhere Project mailing list, originally hosted at http://lists.hellug.gr/mailman/listinfo/rule-list, is kept online by Free Software popularizer, researcher and trainer Marco Fioretti. To know how you can support this archive, and Marco's work in general, please click here