This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Just size of directory & any contents
- From: zzapper <david at tvis dot co dot uk>
- To: cygwin at cygwin dot com
- Date: Thu, 22 Sep 2005 09:31:16 +0100
- Subject: Just size of directory & any contents
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/