in reply to Find directories lt 7 days old

Note that UNIX-like systems do not normally record the time a directory was created, but rather the time it was last modified (-M), last accessed (-A) or its permissions last changed (kinda) (-C).

Dave.

Replies are listed 'Best First'.
Re^2: Find directories lt 7 days old
by mr_mischief (Monsignor) on Apr 01, 2015 at 18:13 UTC

    Traditionally this was true (the change time being the updating of the inode). Some newer filesystems and tools do support a separate creation time (crtime), change time (ctime), modification time (mtime), and access time (atime). Also, it's worth noting that access time is often disabled or only updated if it's the first access since ctime or mtime updates (via the relatime mount option).