2317 Shaares
142 Private Links
142 Private Links
8 Ergebnisse
markiert
ubuntu
#!/bin/bash
# Removes old revisions of snaps
# CLOSE ALL SNAPS BEFORE RUNNING THIS
set -eu
snap list --all | awk '/disabled/{print $1, $3}' |
while read snapname revision; do
snap remove "$snapname" --revision="$revision"
done
One of the negatives is that Snap packages are usually bigger in size and take a lot of disk space. Here's a neat trick that will help you clean Snap packages.