Hi,
To list todays files only:
- Code: Select all
ls -al --time-style=+%D | grep `date +%D`
The parameters to the ls command here cause the datestamp to be output in a particular format. The cunning bit is that the output is then passed to grep. The grep parameter is itself a command , which substitutes the current date into the string to be matched.
You could easily modify it to search specifically for other dates, times, filesizes or whatever.