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 Ubuntu
Bugs, which is subscribed to 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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to