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

  • glibg10b@lemmy.ml
    link
    fedilink
    arrow-up
    9
    ·
    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