[Bug 958164] Re: deb archives not automatically checked for possible compression enhancement

Jérôme 958164 at bugs.launchpad.net
Sun Mar 18 02:52:57 UTC 2012


Below is a shell example of the parsing which could be done :
-----
EXCLUDE=$1
cd /var/cache/apt/archives
echo -- gzip compression :
find . -type f -size +1M -exec 7z l {} \; | grep ^Path | uniq | grep -i tar.gz --before-context=1 | grep .deb$ | sed 's/^.*\.\///' | grep -vf ${EXCLUDE} | xargs ls -lh
echo -- bzip2 compression :
find . -type f -size +1M -exec 7z l {} \; | grep ^Path | uniq | grep -i tar.bz2 --before-context=1 | grep .deb$ | sed 's/^.*\.\///' | grep -vf ${EXCLUDE} | xargs ls -lh
-----

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/958164

Title:
  deb archives not automatically checked for possible compression
  enhancement

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kubuntu-meta/+bug/958164/+subscriptions



More information about the kubuntu-bugs mailing list