Using the command line, you can search for files larger than a given file size using:
user@machine:~$ find /path/to/directory -type f -size +1024k
This will search for files larger than 1MB (1024k). Obviously you can adjust this number to suite your search requirements.
~Fin
Too often I figure out how to do this or that on Linux systems and in my haste to complete whatever task I've been assigned this "How To" knowledge gets lost. So here, I will begin posting little odds and ends in hopes of not needing to re-research past efforts for Linux tips, tricks, hacks, and other good to know things. If you find yourself here and know of smaller, faster, better ways of doing any of this please let me know - only through cooperation can we all get better.
Showing posts with label file system. Show all posts
Showing posts with label file system. Show all posts
Monday, October 19, 2009
Subscribe to:
Posts (Atom)