From mboxrd@z Thu Jan 1 00:00:00 1970 From: James TD Smith Subject: Re: directory tree size browsing with column view Date: Sat, 24 Oct 2009 21:52:26 +0100 Message-ID: <20091024205226.GW72276@yog-sothoth.mohorovi.cc> References: <4AE304FC.4090608@alumni.ethz.ch> <20091024155117.GT72276@yog-sothoth.mohorovi.cc> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N1nbH-0000l3-0W for emacs-orgmode@gnu.org; Sat, 24 Oct 2009 16:52:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N1nbC-0000kE-KP for emacs-orgmode@gnu.org; Sat, 24 Oct 2009 16:52:34 -0400 Received: from [199.232.76.173] (port=52277 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N1nbC-0000kB-FQ for emacs-orgmode@gnu.org; Sat, 24 Oct 2009 16:52:30 -0400 Received: from 81-86-40-42.dsl.pipex.com ([81.86.40.42]:50287 helo=yog-sothoth.mohorovi.cc) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N1nbB-0003GM-SX for emacs-orgmode@gnu.org; Sat, 24 Oct 2009 16:52:30 -0400 Content-Disposition: attachment In-Reply-To: <20091024155117.GT72276@yog-sothoth.mohorovi.cc> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Brand Cc: emacs-orgmode@gnu.org Hi Michael, On 2009-10-24 16:51:17(+0100), James TD Smith wrote: > On 2009-10-24 15:45:32(+0200), Michael Brand wrote: > > I would like to use the column view for browsing a hierarchical tree with a > > summed up property like e. g. the directory sizes (inclusive cluster waste and > > subdirectories from `du -sk`) of a directory tree. Just similar (only > > unsorted) to the upper left pane of this GUI screenshot of WinDirStat here > > http://windirstat.info/images/windirstat.jpg [snip] > > What do you think? > > Have you looked at org-fstree? http://repo.or.cz/w/org-fstree.git > > It generates an org tree for the contents of a directory. It doesn't have an > option to include the size or other file attributes as properties as the moment, > but I don't think this would be hard to add. Andreas and I have been working on > it quite a lot over the last week, I'll see if I can add an option which would > do what you want. OK, I have added support for including file attributes as properties to org-fstree. You will need to use the merge_jtd_smiths_patch branch. Once you have loaded org-fstree put the following in an orgfile and fill in the directory name. --8<---------------cut here---------------start------------->8--- * Disk usage :PROPERTIES: :COLUMNS: %80ITEM %size{+} :END: #+BEGIN: fstree :dir "" :file-attributes (size) #+END: --8<---------------cut here---------------end--------------->8--- Hit C-c C-c on the #+BEGIN line to fill in the file details. James -- |---|