I might try soemthing like this: du -c -s `cat filename.lst`
Where filename.lst is the filename containing the files. Note the use of the backtick quotes (above the tab key) Mike 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

