emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Antano Solar John <solar345@gmail.com>
To: org-mode Org-Mode <emacs-orgmode@gnu.org>
Subject: Automatic scanning of folder structure and generating links
Date: Mon, 01 Sep 2008 12:18:08 +0530	[thread overview]
Message-ID: <86r684l5uf.fsf@gmail.com> (raw)

Hi,
I am curious if it is possible to have org scan a directory and reflect
its structure as links within a org file.
For example:
If I have a directory like 
Documents/References
Documents/Material
Documents/Material/Course Details
Documents/Material/Projects


I would like to add a hook to org mode that will call some function that
will modify a section I have marked within the org file to scan
Documents to look like the following 
* [[file:~/Documents/References/][References]]
* [[file:~/Documents/Material/][Material]]
** [[file:~/Documents/Material/Course Details][Material]]
** [[file:~/Documents/Material/Projects][Material]]


I know I can use dired mode. But I have a feeling this in org mode will
make it more accessible.

Thanks in advance
-- 
Antano Solar John 
Consultant & Trainer (Web 2.0,Networks,VOIP)

                 reply	other threads:[~2008-09-01  6:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=86r684l5uf.fsf@gmail.com \
    --to=solar345@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /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).