Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- set -eu
- LANG=C snap list --all | awk '/disabled/{print $1, $3}' |
- while read snapname revision; do
- snap remove "$snapname" --revision="$revision"
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement