With the price of storage these days, I can’t afford to upgrade my array.

  • tal@lemmy.today
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    6 hours ago

    Most filesystems you’ll use under Linux have not just a last modified time (mtime), which is what touch defaults to changing, but also a last-accessed time (atime) that the kernel will already be recording.

    Try running stat on a file and it’ll show the atime.

    find can search for files that haven’t been accessed more-recently than a given time with the -atime option.