covermyass icon indicating copy to clipboard operation
covermyass copied to clipboard

Select files based on modification time

Open sundowndev opened this issue 1 year ago • 0 comments

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

sundowndev avatar Dec 22 '22 07:12 sundowndev