emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: dir or folder structure into org-file?


From: Sebastian Rose
Subject: Re: [Orgmode] Re: dir or folder structure into org-file?
Date: Mon, 21 Sep 2009 00:44:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Erwin,


if you don't need links, you could use Eric Schultes org-babel package,
too.

Provided `tree' is installed, this here will put the tree beneath
~/.emacs.d below, and export the results only. The `-d' option tells
`tree' to show directories only.


#+begin_src sh :results output :exports results
  echo "Directory structure:"
  tree -d ~/.emacs.d/
#+end_src


If you now pres `C-c C-c' inside the source block, the result will be
added. Here's what it looks like on my machine (org's contrib directory
only in this case:


#+resname:
#+begin_example
Directory structure:
/home/sebastian/.emacs.d/lisp/ext/org-mode/contrib/
|-- babel
|   `-- lisp
|       `-- langs
|-- lisp
|-- packages
|   `-- org-export-freemind-0.1.0
`-- scripts
#+end_example



Best wishes

    Sebastian



Erwin Panen <address@hidden> writes:
> Matt, thanks a lot, this is exactly what I'm looking for :-)
> I've downloaded and enabled it, but up to now I haven't really managed to use
> it...
> I'll have to digg somewhat deeper
>
> Cheers,
>
> Erwin
>
> Matt Lundin wrote:
>> Erwin Panen <address@hidden> writes:
>>
>>> Not sure this is the right place to ask;
>>> I'm looking for a way to import a complete file structure into an
>>> org-mode buffer that will be saved to an org-mode file.
>>>
>>> I assume org or emacs must be able to do this, but I haven't found
>>> anything googling around..
>>>
>>> Thanks for your help!
>>
>> I believe org-fstree is a good option for this:
>>
>> http://burtzlaff.de/org-fstree/
>>
>> Best,
>> Matt




reply via email to

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