430
submitted 1 year ago* (last edited 1 year 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 1 year 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

[-] lloram239@feddit.de 116 points 1 year ago

Time to write some bug reports. ~/.cache is supposed to be disposable.

[-] sebsch@discuss.tchncs.de 51 points 1 year ago

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

[-] redd@discuss.tchncs.de 3 points 1 year ago

not necessarily during runtime

[-] 30p87@feddit.de 2 points 1 year ago

But a restart of an app should fix it.

[-] MangoPenguin@lemmy.blahaj.zone 29 points 1 year ago

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

[-] Iapar@feddit.de 25 points 1 year ago

You shouldn't have done that Dave.

[-] stepanzak@iusearchlinux.fyi 4 points 1 year ago

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

[-] glibg10b@lemmy.ml 9 points 1 year 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 3 points 1 year ago

The contents were deleted

this post was submitted on 03 Dec 2023
430 points (96.9% liked)

Linux

48376 readers
846 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