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
    14
    ·
    11 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.