Guest User

Untitled

a guest
Jul 15th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. for pkg in `pacman -Qq`; do
  4. size=`
  5. LC_ALL=C pacman -Qi $pkg |
  6. grep '^Installed Size' |
  7. awk -F '[[:space:]]+:[[:space:]]+' '{print $2}'
  8. `
  9. echo "$size - $pkg"
  10. done |
  11. sort -hr
Add Comment
Please, Sign In to add comment