Created
December 14, 2020 00:12
-
-
Save mhelsley/10dd17cd69f3a7bf9df971fba2710ad6 to your computer and use it in GitHub Desktop.
Remove snap droppings -- snaps leave stale revisions which incur startup cost by littering your system with systemd mount units and possibly more.
This file contains 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
snap list --all | grep disabled | awk '{print $1 " " $3}' | while read SNAP REV ; do sudo snap remove $SNAP --revision $REV; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment