tektip9191
Programmer
There are millions of files and the below shell script never completes. I think find is taking for ever.
How can I simplify this script for fast results.
for i in $(find `ls -d converted*` -name "*.xml")
do
ls -lrt $i | awk '{ if ( $5 == 1 ) print $0 }'
done;
Appreciate your help.
Thanks.
How can I simplify this script for fast results.
for i in $(find `ls -d converted*` -name "*.xml")
do
ls -lrt $i | awk '{ if ( $5 == 1 ) print $0 }'
done;
Appreciate your help.
Thanks.