On Dec 29, 2007, at 8:25 PM, Karl Kleinpaste wrote: > DM Smith <dmsmith555 at yahoo.com> writes: >> But, I'd suggest using something that doesn't read the entire file to >> get the size. > > installsize="`( echo 0 ; ls -l $files | awk '{ print $5 }' | while > read onefile ; do echo $onefile"+" ; done ; echo p ) | dc`" So cool ! :)