How can I list the 10 most recently modified files of a certain extension, not all files, or the files modified during the last 2 days for example?
I would like to run AIDE or tripwire to make sure executables/configuration files/... do not get modified by malware. Or at least notify me if they do get modified.
I would like to get a list of files modified during apt get upgrade and apt-get install to tell me how to update the AIDE/tripwire database.
This includes files modified during pre/post processing.
I want to copy from below source dir to the desired destination as shown below.
----dirA (contain files last modified 2/7/2015)
----dirB (contain files last modified 3/7/2015)
----dirC (contain files last modified 18/7/2015)
----dirD (contain files last modified 18/7/2015)
----dirE (contain files last modified 2/7/2015)
each dir above in contain files with specific last mo