Created
April 9, 2019 14:49
-
-
Save trpapp/93130b286d6c9bf3367a2c84c9f3b1f6 to your computer and use it in GitHub Desktop.
List all packages w/ install size, package name & priority level
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
#!/bin/bash | |
dpkg-query -Wf '${Installed-Size}\t${Package;-40}${Priority}\n' | sort -nr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Optional: add the following to sort by priority level >_
egrep '\s(optional|extra)'