Skip to content

Instantly share code, notes, and snippets.

@Techcable

Techcable/clear_snap_font_caches.sh Secret

Last active Jan 27, 2021
Embed
What would you like to do?
Clear all the snap font caches (with prompt before removal)
for cache_dir in $(find ~/snap/ -wholename '*/.cache/fontconfig'); do
echo "Clearing $cache_dir";
rm -I -r $cache_dir;
done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment