Browse - computer tips - linux find files that have not been modified for a week or moreDate: 2010may4 OS: Linux Q. How do I find all files that have not been modified for a week or more? A. find . -type f -mtime +7 -ls ^ ^ ^ ^ | | | | | | | Display full info about the file | | | | | Modified date was 7 days ago or more | | | Only files (not folders, symlinks, sockets, etc) | Starting in the current directory
Add a commentSign in to add a comment | Advertisements:
|