Last active
August 29, 2015 14:03
-
-
Save teffalump/9897f05c7082dc18418d to your computer and use it in GitHub Desktop.
Get arch pkg sizes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/zsh | |
#DEPRECATED | |
#get size of package(s) in arch (specify none for all) | |
pacman -Si "$@" | awk -F ": " '/^Name/ {name=$2} /^Installed Size/ {printf "%s %d KiB\n", name, $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Shouldn't use this anymore.