Grep only in files from today

By.

min read

My profile

Share this:
find . -maxdepth 1 -type f -mtime 0 -print0 | 
xargs -0 grep --color 'mygrep'

@see https://stackoverflow.com/questions/68220563/how-does-grep-only-todays-files-in-current-directory

Share this:

Leave a Reply

Your email address will not be published. Required fields are marked *