Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed 

Finding large files

// Hi all, just a cheap and easy way to find a bunch of large files on your server etc..

#!/bin/bash
for file in `find / -type f -size +100000`; do
        ls -lh $file
done

« Newer Snippets
Older Snippets »
1 total  XML / RSS feed