emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marco Wahl <marcowahlsoft@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-mode - export as folder structure possible?
Date: Thu, 17 Nov 2016 12:03:48 +0100	[thread overview]
Message-ID: <84d1hu5pwr.fsf@gmail.com> (raw)
In-Reply-To: 823beaec-c9d3-d3c7-bc81-a99d33462574@gmail.com

Hello,

> Hello,
>
> I need to create a rather complex folder structure.
> It is OK to create that in dired but I think even nicer and faster it
> would be to create an org-mode outline which then exports this folder
> structure to the org document's directory.
>
> This could even be extended to create blank files with file extension
> within the directory - maybe communicated to the exporter with list
> items.
> Can the org-mode exporter be used or easily programmed for this kind
> of application?
>
> * Folder
> - Registry.xls
> - document.doc
>
> ** Subfolder
>
> *** Subsubfolder
> - some_document.txt
>
> ** Subfolder 2
>
> * Another folder
>
> ** another one
> - document.file_extension
> - ListB.xlsx

[...]

>
> Thanks in advance for any answer.

I fiddled together something which might be a start for you.

    https://gist.github.com/marcowahl/c12ed4b2df9748ad7185338394b92445

Files are identified by the 'file' tag in that example.

If you want to stay with the plain lists you should follow the direction
pointed to by Phil AFAICT.


Ciao,

        Marco

  parent reply	other threads:[~2016-11-17 11:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-17  0:00 org-mode - export as folder structure possible? mcg
2016-11-17  8:16 ` Philip Hudson
2016-11-17 11:03 ` Marco Wahl [this message]
2016-11-26 18:31 ` Karl Voit

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=84d1hu5pwr.fsf@gmail.com \
    --to=marcowahlsoft@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).