1834133 Members
2302 Online
110064 Solutions
New Discussion

Re: Unix Command

 
SOLVED
Go to solution
Yang chongjiu
New Member

Unix Command

Dear all,

I am looking for a command , which displays all files in that directory , Those files were created more than 90 days before.

I read 'man find' , -atime , -mtime it seems it's not I want.

Thank you!


1 REPLY 1
Matti_Kurkela
Honored Contributor
Solution

Re: Unix Command

Most Unix-style filesystems won't store the file creation time.

Sometimes the "ctime" timestamp is misdocumented as creation time - that is NOT true.

The three standard timestamps are:

mtime - when the _content_ of the file was last modified

ctime - when the inode information (owner, permissions and other metadata) was last changed

atime - the time of the last access (even reading the file)

You would need some other source of information to solve your problem. For example, a stored directory listing or a backup that's made exactly 90 days ago.

MK
MK