Just size of directory & any contents

zzapper david@tvis.co.uk
Thu Sep 22 09:16:00 GMT 2005


Hi,
I was still using WinEXP for this until recently

# just display total size of current directory & contents in human readable
du -sh .

# same thing but exclude pdfs

du -sh somedir --exclude '*.pdf'

Any more tricks?

-- 
zzapper
Success for Techies and Vim,Zsh tips
http://SuccessTheory.com/


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list