I would like to find all directories in a filesystem that has not been accessed in 3 or more years and print them to a file. I've read the man pages for find, and used the -mtime option but it does not seem reliable. It will find the directories dated 1998 (for example) but when I go into the sub-directories I can somtimes find files dated within the 3 years. Does anyone have a script or a variation of the find command that will help me out?
Thanks!