Chicken dinner! On Tue, Dec 29, 2009 at 10:59 AM, Tim Newsham <news...@lava.net> wrote:
> It is suggested to use >> du -a | awk '{print $2}' >> instead of find. But what if filename contains spaces? For example if >> file is named "foo bar" then awk will output "foo" only. >> > > What about > > du -a | sed 's/^[0-9]*<tab>//g' > > no loss on spaces in filenames. > no loss on tabs in filenames. > > Tim Newsham | www.thenewsh.com/~newsham<http://www.thenewsh.com/%7Enewsham>| > thenewsh.blogspot.com > >