linux find 用法总结

来源:互联网 发布:ubuntu怎么升级内核 编辑:程序博客网 时间:2024/06/05 16:26

1. 一年之内更新过的文件

find . -type file -mtime -365 -print

通常每个文件具备三个时间戳:
【a】上次访问的时间 参数是 -atime
【b】上次属性变更的时间 参数是 -ctime
【c】上次内容变更的时间 参数是 -mtime


原创粉丝点击