Hi Team,
I am a new bie to unix and want to check a directory for a files with extension *.doc exceeding a specific file size limit,and will give me a buffer ooutput as below
I used below command,
find . -name \*.doc -size +3k -printf "|%p |%k KB"
which resulted as,
./ABC_sw_high.doc |4 KB|./ABC_sw_bye.doc |4 KB|./ABC_sw_dye.doc |8 KB|./ABC_sw_cry.doc |8 KB|./ABC_sw_my.doc |4KB|./ABC_sw_feel.doc |8 KB|./ABC_sw_good.doc |8 KB
Result is ok with me, but for one of the file named "ABC_sw_good.doc" I want it to appear in result set only if its size is more than 10K,
how can this be acheived kindly suggest.
Thanks in advance.
Regards,
Lisha Ahuja