covermyass
covermyass copied to clipboard
Select files based on modification time
When dealing with a huge number of log files, it can be nice to be able to only read or overwrite relevant files. Files that weren't modified after a date (say, the date the machine was compromised), are not useful to overwrite because the logs have nothing to do with the event. This would increase performances and prevent to deal with permission issues as well.
Example
# Files with a last modified date prior to Dec 24, 2022 will be ignored
$ covermyass --from-date 2022-12-24