delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/22/04:34:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: zzapper <david AT tvis DOT co DOT uk>
Subject: Just size of directory & any contents
Date: Thu, 22 Sep 2005 09:31:16 +0100
Lines: 16
Message-ID: <slq4j15kb9u83ujpfe70u2f6lf9ardotco@4ax.com>
Mime-Version: 1.0
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019