The following code can be used for this.
$ find /home/sunil -type f -size +20000k -exec ls -lh {} \; | awk '{ print $8 ": " $5 }'
You can replace /home/sunil with what ever path you want to search. Also you can try changing the size from 20000k( 20MB) to some other value.
No comments:
Post a Comment