search modified or accessed files in a specifically period

1. the modified files within n days(-ctime)

find . -type f -ctime -n

introduction:

(1) -type f only search file ,excluding dictionary

(2)ctime, the character c means change.

(3)-ctime +n: before n days; -ctime –n: within n days.

example:

ctime

ctime: this parameter means the status of changes of date

2. The accessed status within n days(-actime)

find . -type f -atime -n

introduction:

atime, the character a means access

 

Leave a Reply