zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #00893
newbie here: info request (for import)
-
To:
zim-wiki@xxxxxxxxxxxxxxxxxxx
-
From:
Alessandro Magni <magni@xxxxxxxx>
-
Date:
Fri, 17 Sep 2010 15:58:22 +0200
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Thunderbird/3.1.3
sorry if it's the wrong place to ask:
I just discovered this wiki and find it very promising for what I'd like
to do - a simple way to manage my workplace.
My problem - and I'd like to know if Zim can solve it - is to take my
workplace, i.e. my work directory structure, and in some way import into
the wiki, in such a way that for each folder in my directory structure I
would have a Zim node.
I really cannot do it manually, since my folder structure is a child of
many years of work, and the current output of: find /0ale/ -type d | wc
gives me 11875 folders :-)
P.S. I just noticed that zim nodes are simple textfiles, so I tried
inserting my info from the commandline, this way:
perl -we 'open(F,">> complex.txt");foreach(@ARGV){print(F
"[[file://$_|$_]]\n")};close(F)' `find
/0ale/excursions/digital/complex/ontologies/ -type d`
where a zim-node "complex" was filled with the list of folders under
/0ale/excursions/digital/complex/ontologies/.
I'm just not sure if I can do it automatically...
any help is really appreciated!
alessandro
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/ Dr.Alessandro Magni
\ Electromagnetics Division
/ INRiM Strada delle Cacce 91, 10135 Torino (ITALIA)
\ Email magni@xxxxxxxx
/ Tel: 0039-011-3919821 Fax: 0039-011-3919834
\ URL http://www.inrim.it/~magni
/ Our business in life is not to succeed but to continue to fail
\ in high spirits. -- Robert Louis Stevenson
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Follow ups