Hey,
I am using 'find' to check the existence of a file which is created today, and this is what I have
find . -name $filename -mtime \+0 -exec ls \{\} \\;
my problem is I need to know what the above command actually get anything, so can anyone give me some pointer on how to do that? what I need is
if [find the file with today date as timestamp]
then
do something A
else
do something B
fi
Thanks!