Hi All!
I would like to have a script that will count the number of files at the top of the hour of soome directories and mail the results to me.
I was thinking on :
I need to have a
, and I would like to have this results every hour of everyday.
I would like to have a script that will count the number of files at the top of the hour of soome directories and mail the results to me.
I was thinking on :
Code:
a=`/directory/subdirectory/ | wc -l`
echo "/directory/subdirectory :$a"
b=`/another_dir/subdir/ | wc -l`
echo "/another_dir/subdir :$b"
Code:
while