mirror of
https://github.com/nchevsky/systemrescue-zfs.git
synced 2025-12-06 07:12:01 +01:00
Improve command for reporting package sizes
This commit is contained in:
parent
715f2c8782
commit
b1848c0ee8
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue