Reminder to clear your ~/.cache folder every now and then

Zangoose@lemmy.world to Linux@lemmy.ml – 425 points –

::: spoiler Alt Text A screenshot of a file manager preview window for my ~/.cache folder, which takes up 164.3 GiB and has 246,049 files and 15,126 folders. The folder was first created about 1.75 years ago with my system :::

142

You are viewing a single comment

I did this and now my games have no icons in lutris, some of my gnome settings got reset and my proton email bridge stopped working

You shouldn't have done that Dave.

Cannot this be caused by deleting the folder and not just everything inside?

It's likely. mkdir fails to create a subdirectory such as ~/.cache/mozilla/ if ~/.cache/ doesn't exist, unless -p is explicitly passed to mkdir

Of course, not everything is a shell script, but I imagine the directory creation functions in many languages work similarly

1 more...