Linux命令:按修改时间和大小查找文件,不包含子文件夹

find . -maxdepth 1 -size +10k -ctime -600 -name  “*.txt”

其它可选项

atime:File was last accessed n*24 hours ago

atime, ctime后面数字的用法:

+n     for greater than n,

-n     for less than n,

n      for exactly n.

Comments are closed.