Batch file question - average size of file in directory
- From: "Kurt Buff" <kurt.buff@xxxxxxxxx>
- Date: Tue, 2 Jan 2007 10:20:08 -0800
All,
I don't even have a clue how to start this one, so am looking for a little help.
I've got a directory with a large number of gzipped files in it (over
110k) along with a few thousand uncompressed files.
I'd like to find the average uncompressed size of the gzipped files,
and ignore the uncompressed files.
How on earth would I go about doing that with the default shell (no
bash or other shells installed), or in perl, or something like that.
I'm no scripter of any great expertise, and am just stumbling over
this trying to find an approach.
Many thanks for any help,
Kurt
_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: Batch file question - average size of file in directory
- From: Giorgos Keramidas
- Re: Batch file question - average size of file in directory
- Prev by Date: Re: FreeBSD on Mini-ITX has web page latency
- Next by Date: sparc64 and perl 5.8.8 port test failures?
- Previous by thread: external touchpad for Thinkpad T23? (fwd)
- Next by thread: Re: Batch file question - average size of file in directory
- Index(es):
Relevant Pages
|