Wie man Snaps -Ordner in Ubuntu sicher reinigt
#!/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
# Save the above scrips as .sh in a directory (for example clean_snap.sh), give it
# executable permission and run
chmod +x clean_snap.sh
Annoying Alligator