Re: [O] org-mode - export as folder structure possible?

2016-11-26 Thread Karl Voit
* mcg  wrote:
>
> 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?

Take a look at:
https://www.reddit.com/r/orgmode/comments/5emuzc/mount_orgmode_files_as_fuse_file_systems/

Not exactly your use-case but you might get ideas.

-- 
mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode:
   > get Memacs from https://github.com/novoid/Memacs <

https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github




Re: [O] org-mode - export as folder structure possible?

2016-11-17 Thread Marco Wahl
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




Re: [O] org-mode - export as folder structure possible?

2016-11-17 Thread Philip Hudson
Have a look at the docstring for the function `org-element-map'.

On 17 November 2016 at 00:00, mcg  wrote:
> 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
>
>
> With that functionality I could really thoroughly create a decent folder
> structure. With many people working on the windows server it becomes quite
> chaotic.
> Thanks in advance for any answer.
>
>



-- 
Phil Hudson  http://hudson-it.ddns.net
Pretty Good Privacy (PGP) ID: 0x887DCA63



[O] org-mode - export as folder structure possible?

2016-11-16 Thread mcg

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


With that functionality I could really thoroughly create a decent folder 
structure. With many people working on the windows server it becomes 
quite chaotic.

Thanks in advance for any answer.