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

  • noroute@lemmy.world
    link
    fedilink
    arrow-up
    17
    arrow-down
    4
    ·
    7 months ago

    You can also setup a cron job to periodically clean oldest files for you.

    Example: @weekly find ~/.cache -type f -mtime +7 -delete

    This will delete everything older than 7 days inside your cache folder.

      • lemmyvore
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        As long as you limit browser disk cache. For me they’re the biggest offenders with 6 GB, way off from the next largest dir which is Lutris with ~200 MB which is basically just the latest Wine-GE tarball.