# find . -type f -atime -2
--> 2일 안으로 access된 파일을 보여준다.
# find . -type f -atime +2
--> 2일 안으로 access되지 않은 파일을 보여준다.
ex) # find . -type f -atime +7 -exec rm {} \;
--> 일주일동안 access되지 않을 파일을 지운다.
mtime(file modification time), ctime(inode info change time)

comments
comments rss (+댓글 쓰러가기)