Improve command for reporting package sizes

This commit is contained in:
fdupoux 2020-04-12 09:29:19 +01:00
parent 715f2c8782
commit b1848c0ee8
2 changed files with 2 additions and 1 deletions

View file

@ -71,4 +71,4 @@ sed -i -e '/# ==== BEGIN customrepos ====/,/# ==== END customrepos ====/d' /etc/
# Packages
pacman -Q > /root/packages-list.txt
pacman -Qi | egrep '^(Name|Installed)' | cut -f2 -d':' | paste - - | column -t | sort -nrk 2 | grep MiB > /root/packages-size.txt
expac -H M -s "%-30n %m" | sort -rhk 2 > /root/packages-size.txt

View file

@ -29,6 +29,7 @@ e2fsprogs
efitools
elinks
ethtool
expac
exfat-utils
f2fs-tools
featherpad