adding numbers

From: Shawn Bierman (BiermanS_at_METHODISTHEALTH.ORG)
Date: 12/14/04

  • Next message: kmdowney_at_GOODYEAR.COM: "Re: adding numbers"
    Date:         Tue, 14 Dec 2004 13:35:43 -0600
    To: aix-l@Princeton.EDU
    
    

    How would I use bc to add the results of this find command?

    /usr/bin/find . -mtime +90 -xdev -type f -ls|awk '{print $7}'

    Or is there an easier way? This returns about 13,000 lines.

    -shawn


  • Next message: kmdowney_at_GOODYEAR.COM: "Re: adding numbers"