On 1/10/2007 4:48 PM, Michael O'Keefe wrote:
There's got to be some `find ... | gzip | wc -c` magic that can be done here but I haven't found it as yet.

I'd say your example would be spot on, except use xargs gzip

Before I asked I tried the following in my home directory, containing a bunch of normal stuff.
$ find . -type f | xargs gzip -q - | wc -c

After a time and a lot of crunching it returned 60. Obviously wrong, given:

$ du -s
476469

$ find | wc -l
9503

Any thoughts?

Karl



--
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-list

Reply via email to