Hi, I have a UNIX script to fetch all the files for current day. so I am using code--
"files=($(find x.lst -maxdepth 1 -type f -daystart -mtime -1))". But this is not going to work if my job starts at 11 PM and continues till 1AM. In tht case I will loose all files between 11PM to 12AM. Is there any way I can get all the files that are part of 11PM-1AM run .
Does your find
have the
test?
No. I pasted my code. I have not used "-cmin n" in my code.
We know you haven't used -cmin n
. That isn't the question.
Does the man page for the find
utility on your system include a description for a -cmin
primary?