command can select files based on time with the -cmin
options. For example, if wanted to see all files in the current directory created in the last 30 minutes, you could:
So I am guessing you want to combine this with the diff
command in some way. But I can't figure out precisely
what you are trying to do. If you can clarify this a bit I might be able to give you a more specific command sequence. Also note that you can add many other qualifers to the find
command such as file type (regular, directory, etc), names (including wildcards), etc.
(For future reference, note that for periods measured in days rather than minutes you can use the -ctime
, and -mtime