bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Feature Request: du --dir-with-slash


From: Pádraig Brady
Subject: Re: Feature Request: du --dir-with-slash
Date: Mon, 10 Mar 2008 13:34:06 +0000
User-agent: Thunderbird 2.0.0.6 (X11/20071008)

Pádraig Brady wrote:
> find / -xdev -printf "%p%y\n" |
> sed 's/d$/\//;t; s/.$//;' |
> tr '\n' '\0' |
> xargs -r0 du -s |
> LC_ALL=C sort -rn -k1,1

Note that will give the output you want but will be very inefficient :(
So Jim's method is the best compromise for the moment.

Pádraig.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]