This command runs fine
find /eqtynas/ -type f -mtime -1 -print0 | du -ch --files0-from=- --total -s > /tmp/24hourUsage.20171101 &
however it takes in a 24 hour block of time since I run the command. So if I run this at 7pm, I get a lot of files from the previous work day starting at 7pm.
I tried the -daystart
command which I am having difficulty integrating it with the pipe to disk usage. For some reason, -daystart
is sucking in files from the previous day (before midnight).
Would there be a way to extract just the files created from 7am to 5pm (a ten hour time frame) with Linux find command?