looks like the first one I gave does the trick and doesn't get confused with folders that might be inside one another. Didn't know du has that intelligence (And I didn't test it first).
On Tue, 2004-05-04 at 13:50, Michael Petch wrote: > Oops, > > du -c `cat filename.lst` > > I didn't realize you wanted it to recurse folders listed in the > filename. So it would be something like the above. > > Note that you don;t want any of the folders you list in that file to be > inside another since it will compute totals multiple times > > On Tue, 2004-05-04 at 12:14, Cory Syvenky wrote: > > Hi All, > > > > Problem: Trying to compute disk space usage based on folder names listed > > in a file. > > > > Current Situation: I've run grep and find until the point where I know I > > have a file that contains every folder that I need to sum up. > > > > I know du -ah will do everything that I need it to. But I can't figure out > > how to run that command on every line of my file and compute a total. > > > > cS > > > > > > > > _______________________________________________ > > clug-talk mailing list > > [EMAIL PROTECTED] > > http://clug.ca/mailman/listinfo/clug-talk_clug.ca -- Mike Petch CApp::Sysware Consulting Ltd. Suite 1002,1140-15th Ave SW. Calgary, Alberta, Canada. T2R 1K6. (403)804-5700.
signature.asc
Description: This is a digitally signed message part
_______________________________________________ clug-talk mailing list [EMAIL PROTECTED] http://clug.ca/mailman/listinfo/clug-talk_clug.ca

