Copyright © 2008-2018, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.
Date: 2010may4 OS: Linux Q. How do I find all files that have not been modified for a week or more? A. Use find, like this: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