nix, shell, perl, php, mysql and mac os x tips and tricks

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.
find ~ -atime +30 -print

No comments:

Post a Comment