find ~ -atime +30 -print
Thursday, July 1, 2004
Find all files starting in the home directory that have not been accessed in the last 30 days
Note that if you run this command a second time there will be no files found because the find command accesses each file in the home directory when it runs.
Subscribe to:
Posts (Atom)