From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <272f9c67d449012f1e28b3e5119d4b40@quintile.net> From: "Steve Simon" Date: Mon, 28 Dec 2009 23:14:25 +0000 To: 9fans@9fans.net In-Reply-To: <20091228230510.GA25423@machine> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] du and find Topicbox-Message-UUID: b33669f6-ead5-11e9-9d60-3106f5b1d025 > It is suggested to use > du -a | awk '{print $2}' > instead of find. But what if filename contains spaces? how about du -a | awk '{$1=""; print}' This does print a leading space but is simple enough, or perhaps du -a | while(s=`{read}) echo $s(2-) which is more accurate but arguably more complex. -Steve