Im using this command to get some info from the files below:
> find /var/opt/smarttreee/dpa/log/event/output/TrafficErrorEvents* -type f -mtime -7 -print0 | xargs -0 grep SmartPrM | wc -l
Is there a way for it not to take the files that has the timestamp of the current day?
For example, lets say I have files like this:
Using the command above Im reading the files from the day 09/24 to the 09/17 (considering today as 09/24)
So, Is there a way for it to read the files from 09/23 to 09/17 ? NOT reading the files from 09/24 ?