找回密码
 注册

QQ登录

只需一步,快速开始

查看: 120|回复: 0

Linux: list out only files newer than some data

[复制链接]
发表于 2013-12-12 12:06:57 | 显示全部楼层 |阅读模式
#set timestamp for file    touch --date "2011-12-31" /tmp/foo# Find files newer than 2011/Dec/31, in /some/filesfind /some/files -newer /tmp/foo

Use find command with mtime arguments:  Some examples are here or here
For example, list files changed in last 7 days...
find / -type f -mtime -7



您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|BC Morning Website ( Best Deal Inc. 001 )

GMT-8, 2026-4-10 01:44 , Processed in 0.031734 second(s), 16 queries .

Supported by Weloment Group X3.5

© 2008-2026 Best Deal Online

快速回复 返回顶部 返回列表