hi All,
I am using the command
find /home/mqm/check/ -mtime +1|wc -l
to get a count of the files older than a day under the check directory. But instead of getting the count of the files under check directory I m getting a count including the check directory itself. Can someone please tell me where i have to include the parameters list (like -f file ) in order to get the correct count?
Thanks in advance
---------- Post updated at 05:50 AM ---------- Previous update was at 05:07 AM ----------
Hi,
I have found the command for the above requirement its
find /home/mqm/check -type f -mtime +1|wc -l