Find the files that have been changed in last 24 hours

前端 未结 6 2197
情书的邮戳
情书的邮戳 2020-11-29 14:36

E.g., a MySQL server is running on my Ubuntu machine. Some data has been changed during the last 24 hours.

What (Linux) scripts can find the files that have been cha

6条回答
  •  鱼传尺愫
    2020-11-29 15:30

    Another, more humane way:

    find / -newermt "-24 hours" -ls
    

    or:

    find / -newermt "1 day ago" -ls
    

    or:

    find / -newermt "yesterday" -ls
    

提交回复
热议问题