Answers for "snaps in ubuntu take a lot of space"

0

snaps in ubuntu take a lot of space

#!/bin/bash
# Removes old revisions of snaps
# CLOSE ALL SNAPS BEFORE RUNNING THIS
set -eu

LANG=en_US.UTF-8 snap list --all | awk '/disabled/{print $1, $3}' |
    while read snapname revision; do
        snap remove "$snapname" --revision="$revision"
    done
Posted by: Guest on February-28-2021

Code answers related to "snaps in ubuntu take a lot of space"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language