find . -name '*.osc' -or -name '*.img' -type f -size +3000 -print -exec
bzip2 '{}' \;
is a personal favorite, along those lines, with ample opportunities for
customization. (If the above command line wraps, it's all supposed to
be on one line)
Phil Jeffrey
Princeton
On 2/9/11 2:46 PM, David Schuller wrote:
> /bin/ls -lR | sort -nk5 | tail -40
> will list the largest files in the directory tree. Those are probably
> the ones you need to compress.
>
|