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 "<dir name>" :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

--
|-<James TD Smith>-<email/ahktenz...@mohorovi.cc>-|


_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to