2010/02/22

an odd way to find files larger than a certain size

ls -l -R | nawk '{ if ($5 > 104857600 ) { print $0 }}'


from http://www.codesnippt.com/code.php?id=32

...or you could just:
find . -size -100M

1 comment:

Duniyadnd said...

Thanks for the post. I updated it on the site as well to reflect the changes. http://www.codesnippt.com/code.php?id=32&t=115