Advertisement
Guest User

Untitled

a guest
Nov 15th, 2019
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.17 KB | None | 0 0
  1. set -eu
  2.  
  3. LANG=C snap list --all | awk '/disabled/{print $1, $3}' |
  4.     while read snapname revision; do
  5.         snap remove "$snapname" --revision="$revision"
  6.     done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement