On Monday 22 October 2007 09:11, Kent Johnson wrote: > Newbie question: > > How can I get the total size, in K, of all files in a directory that > match a pattern? > > For example, I have a dir with ~5000 files, I would like to know the > total size of the ~1000 files matching *.txt.
Ah! Perhaps I actually know an answer to this one. (Very rare) Go to directory of interest and try du -shc *.txt Jim Kuzdrall _______________________________________________ gnhlug-discuss mailing list gnhlug-discuss@mail.gnhlug.org http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/