The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
Google UNIX.COM



View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #4 (permalink)  
Old 08-08-2007
zazzybob's Avatar
zazzybob zazzybob is offline
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Code:
$ find /temp -name "*._*" -print0 | xargs -0 du -ks | awk '{c+=$1} END {printf("%s KB\n", c )}'
192 KB
Cheers
ZB
Reply With Quote