Skip to Content.
Sympa Menu

sm-sorcery-bugs - [SM-Sorcery-Bugs] [Bug 3608] add a gaze size command to see sizes of installed packages.

sm-sorcery-bugs AT lists.ibiblio.org

Subject: Bugs for Sorcery are reported here

List archive

Chronological Thread  
  • From: bugzilla-daemon AT metalab.unc.edu
  • To: sm-sorcery-bugs AT lists.ibiblio.org
  • Subject: [SM-Sorcery-Bugs] [Bug 3608] add a gaze size command to see sizes of installed packages.
  • Date: Wed, 23 Jul 2003 05:02:33 -0400

http://bugs.sourcemage.org/show_bug.cgi?id=3608





------- Additional Comments From xiticix47 AT hotmail.com 2003-07-23 05:02
-------
(From update of attachment 1181)
>#!/bin/bash
>
>source /etc/sorcery/config
>
>package_size () {
>
> local version=$(installed_version $1)
> local file="$INSTALL_LOGS/$1-$version"
> cat $file | xargs ls -lgd 2> /dev/null |grep '^[^dl]' | awk '{ x += $5 }
> END { print " " x " bytes in " NR " files." }'
>}
>
>package_size $@




------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.




Archive powered by MHonArc 2.6.24.

Top of Page