436
submitted 11 months ago* (last edited 11 months ago) by Zangoose@lemmy.world to c/linux@lemmy.ml

Alt TextA 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

you are viewing a single comment's thread
view the rest of the comments
[-] ryannathans@aussie.zone 80 points 11 months ago

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

[-] sebsch@discuss.tchncs.de 50 points 11 months ago

So the apps are broken. Cache is meant to be deleted at any time

[-] redd@discuss.tchncs.de 3 points 11 months ago

not necessarily during runtime

[-] 30p87@feddit.de 2 points 11 months ago

But a restart of an app should fix it.

[-] MangoPenguin 29 points 11 months ago

For some reason devs can't wrap their head around cache being temporary.

[-] Iapar@feddit.de 25 points 11 months ago

You shouldn't have done that Dave.

[-] stepanzak@iusearchlinux.fyi 4 points 11 months ago

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

[-] glibg10b@lemmy.ml 9 points 11 months ago

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

[-] ryannathans@aussie.zone 2 points 11 months ago

The contents were deleted

this post was submitted on 03 Dec 2023
436 points (100.0% liked)

Linux

48179 readers
795 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS