On Sun, 23 Feb 2014, Tobias Boege wrote:
> On Sun, 23 Feb 2014, Bruce wrote:
> > ... if I may be getting a little bit obsessive/compulsive.
> > 
> > :-)
> > B
> 
> Oh boy...
> 
> $ find -name .project | xargs dirname | xargs du -hs | awk 
> 'BEGIN{t=0;FS="K";} {t+=$1;} END{print t " KiB";}'
> 24355.3 KiB
> 
> (Don't know if it counts correctly, though, but it feels correct...)
> 

Aha! I should practice the shell more often:

$ find -name .project | xargs dirname | xargs du -hcs | tail -n1
55M     total

That's 1/20...

Regards,
Tobi

-- 
"There's an old saying: Don't change anything... ever!" -- Mr. Monk

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to