Re: graphical representation of `du`

2011-04-06 Thread Jerry McAllister
On Wed, Apr 06, 2011 at 08:34:42PM +0100, Chris Rees wrote: > 2011/4/6 Peter Vereshagin : > > > > Again, why don't you guys just use perl to provide a graphical du? I believe > > perl is just present on every freebsd machine where graphical du is needed. > > > > Why on Earth would you use Perl wh

Re: graphical representation of `du`

2011-04-06 Thread Peter Vereshagin
Nobody knows that you're in for that, freebsd-questions! 2011/04/06 20:34:42 +0100 Chris Rees => To Peter Vereshagin : CR> > Again, why don't you guys just use perl to provide a graphical du? I believe CR> > perl is just present on every freebsd machine where graphical du is needed. CR> Why on

Re: graphical representation of `du`

2011-04-06 Thread Chris Rees
2011/4/6 Peter Vereshagin : > > Again, why don't you guys just use perl to provide a graphical du? I believe > perl is just present on every freebsd machine where graphical du is needed. > Why on Earth would you use Perl when a simple awk script will do??? Chris __

Re: graphical representation of `du`

2011-04-06 Thread Chuck Swiger
On Apr 6, 2011, at 11:34 AM, Peter Vereshagin wrote: > Again, why don't you guys just use perl to provide a graphical du? I believe > perl is just present on every freebsd machine where graphical du is needed. Although it is a common addition, Perl isn't part of the FreeBSD base system. Regards,

Re: graphical representation of `du`

2011-04-06 Thread Peter Vereshagin
Nobody knows that you're in for that, freebsd-questions! 2011/04/05 04:12:40 +0400 Австин Ким => To freebsd-questions@freebsd.org : > Sun, 3 Apr 2011 20:57:24 +0100 письмо от Chris Rees : > > > On 3 April 2011 20:26, Австин Ким wrote: > > > Sun, 03 Apr 2011 12:01:24 +0200 письмо от David Demeli

Re[4]: graphical representation of `du`

2011-04-04 Thread Австин Ким
Sun, 3 Apr 2011 20:57:24 +0100 письмо от Chris Rees : > On 3 April 2011 20:26, Австин Ким wrote: > > Sun, 03 Apr 2011 12:01:24 +0200 письмо от David Demelier > : > > > >> On 02/04/2011 19:30, Chris Rees wrote: > >> > On 2 April 2011 18:22, Chris Rees  wrote: > >> >> On 2 April 2011 18:07, Mike Je

Re: Re[2]: graphical representation of `du`

2011-04-03 Thread Chris Rees
On 3 April 2011 20:26, Австин Ким wrote: > Sun, 03 Apr 2011 12:01:24 +0200 письмо от David Demelier > : > >> On 02/04/2011 19:30, Chris Rees wrote: >> > On 2 April 2011 18:22, Chris Rees  wrote: >> >> On 2 April 2011 18:07, Mike Jeays  wrote: >> >>> On Sat, 2 Apr 2011 17:15:04 +0100 >> >>> Chris

Re[2]: graphical representation of `du`

2011-04-03 Thread Австин Ким
Sun, 03 Apr 2011 12:01:24 +0200 письмо от David Demelier : > On 02/04/2011 19:30, Chris Rees wrote: > > On 2 April 2011 18:22, Chris Rees wrote: > >> On 2 April 2011 18:07, Mike Jeays wrote: > >>> On Sat, 2 Apr 2011 17:15:04 +0100 > >>> Chris Rees wrote: > >>> > du -h . | awk '{a[i++]=$0}

Re: graphical representation of `du`

2011-04-03 Thread David Demelier
On 02/04/2011 19:30, Chris Rees wrote: On 2 April 2011 18:22, Chris Rees wrote: On 2 April 2011 18:07, Mike Jeays wrote: On Sat, 2 Apr 2011 17:15:04 +0100 Chris Rees wrote: du -h . | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' | awk '{print($2" ["$1"]");}' | sed -e 's,[^-][^/]

Re: graphical representation of `du`

2011-04-02 Thread David Chanters
On 3 April 2011 02:25, Gary Kline wrote: > On Sat, Apr 02, 2011 at 08:07:43PM -0500, Ryan Coleman wrote: >> Yeah I don't run these computers to be desktops :) >> > > >        exactly.  i Do have x11 and ctwm just to get two xterms.  but >        prefer the console.  --besides, xdu takes too long.

Re: graphical representation of `du`

2011-04-02 Thread Gary Kline
On Sat, Apr 02, 2011 at 08:07:43PM -0500, Ryan Coleman wrote: > Yeah I don't run these computers to be desktops :) > exactly. i Do have x11 and ctwm just to get two xterms. but prefer the console. --besides, xdu takes too long. > On Apr 2, 2011, at 8:05 PM, David Chanters wr

Re: graphical representation of `du`

2011-04-02 Thread Ryan Coleman
Yeah I don't run these computers to be desktops :) On Apr 2, 2011, at 8:05 PM, David Chanters wrote: > On 3 April 2011 01:30, Ryan Coleman wrote: >> Well, it looks like it's written for X, which I don't run on any of my >> servers. > > Moan, moan, moan. It solves your problem though. > > Da

Re: graphical representation of `du`

2011-04-02 Thread David Chanters
On 3 April 2011 01:30, Ryan Coleman wrote: > Well, it looks like it's written for X, which I don't run on any of my > servers. Moan, moan, moan. It solves your problem though. David ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd

Re: graphical representation of `du`

2011-04-02 Thread Ryan Coleman
Well, it looks like it's written for X, which I don't run on any of my servers. Thanks, though. On Apr 2, 2011, at 6:50 PM, David Chanters wrote: > Hi > > On 2 April 2011 15:20, Ryan Coleman wrote: >> I found this command: >> ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^

Re: graphical representation of `du`

2011-04-02 Thread perryh
Chris Rees wrote: > Maybe I should port it... +1 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Re: graphical representation of `du`

2011-04-02 Thread David Chanters
Hi On 2 April 2011 15:20, Ryan Coleman wrote: > I found this command: > ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/   /' -e > 's/-/|/' What about xdu? http://sd.wareonearth.com/~phil/xdu/ David ___ freebsd-questions@freebsd

Re: graphical representation of `du`

2011-04-02 Thread Gary Kline
On Sat, Apr 02, 2011 at 06:30:15PM +0100, Chris Rees wrote: > On 2 April 2011 18:22, Chris Rees wrote: > > On 2 April 2011 18:07, Mike Jeays wrote: > >> On Sat, 2 Apr 2011 17:15:04 +0100 > >> Chris Rees wrote: > >> > >>> du -h . | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' | > >>>

Re: graphical representation of `du`

2011-04-02 Thread Ryan Coleman
Wow... You rock! Thanks so much! On Apr 2, 2011, at 12:30 PM, Chris Rees wrote: > On 2 April 2011 18:22, Chris Rees wrote: >> On 2 April 2011 18:07, Mike Jeays wrote: >>> On Sat, 2 Apr 2011 17:15:04 +0100 >>> Chris Rees wrote: >>> du -h . | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print

Re: graphical representation of `du`

2011-04-02 Thread Mike Jeays
On Sat, 2 Apr 2011 17:15:04 +0100 Chris Rees wrote: > du -h . | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' | > awk '{print($2" ["$1"]");}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,' I confess to being impressed... ___ freebsd-questions@fre

Re: graphical representation of `du`

2011-04-02 Thread Chris Rees
On 2 April 2011 18:22, Chris Rees wrote: > On 2 April 2011 18:07, Mike Jeays wrote: >> On Sat, 2 Apr 2011 17:15:04 +0100 >> Chris Rees wrote: >> >>> du -h . | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' | >>> awk '{print($2" ["$1"]");}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,' >> >>

Re: graphical representation of `du`

2011-04-02 Thread Chris Rees
On 2 April 2011 18:07, Mike Jeays wrote: > On Sat, 2 Apr 2011 17:15:04 +0100 > Chris Rees wrote: > >> du -h . | awk '{a[i++]=$0} END {for (j=i-1; j>=0;) print a[j--] }' | >> awk '{print($2" ["$1"]");}' | sed -e 's,[^-][^/]*/,--,g' -e 's,^,|,' > > > I confess to being impressed... > Yeah, but per

Re: graphical representation of `du`

2011-04-02 Thread Chris Rees
On 2 April 2011 15:20, Ryan Coleman wrote: > I found this command: > ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/   /' -e > 's/-/|/' > > Which makes this: >   |-Mar17 >   |---1300074369-chow >   |-download >   |---small >   |---1300421616-Cunningham >   |-down

graphical representation of `du`

2011-04-02 Thread Ryan Coleman
I found this command: ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/' Which makes this: |-Mar17 |---1300074369-chow |-download |---small |---1300421616-Cunningham |-download |---small But I want to use `du` instead to c