Quote:
Originally Posted by script
Please Try below:-
dir1="D:\Program Files\archive"
for Dir in "$dir1"
do
cd "$Dir"
echo `pwd`
find `pwd` -mtime +1 -type f -print
done
exit 0
|
You do NOT need the for loop, the
find command will recourse the directory tree including it's sub-directories.
