emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: James TD Smith <ahktenzero@mohorovi.cc>
To: Michael Brand <michael.brand@alumni.ethz.ch>
Cc: emacs-orgmode@gnu.org
Subject: Re: directory tree size browsing with column view
Date: Sat, 24 Oct 2009 21:52:26 +0100	[thread overview]
Message-ID: <20091024205226.GW72276@yog-sothoth.mohorovi.cc> (raw)
In-Reply-To: <20091024155117.GT72276@yog-sothoth.mohorovi.cc>

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/ahktenzero@mohorovi.cc>-|

  reply	other threads:[~2009-10-24 20:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-24 13:45 directory tree size browsing with column view Michael Brand
2009-10-24 15:51 ` James TD Smith
2009-10-24 20:52   ` James TD Smith [this message]
2009-10-25  8:02     ` Michael Brand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091024205226.GW72276@yog-sothoth.mohorovi.cc \
    --to=ahktenzero@mohorovi.cc \
    --cc=emacs-orgmode@gnu.org \
    --cc=michael.brand@alumni.ethz.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).