zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #00906
python script to document a folder structure
-
To:
zim-wiki@xxxxxxxxxxxxxxxxxxx
-
From:
Alessandro Magni <magni@xxxxxxxx>
-
Date:
Fri, 24 Sep 2010 17:42:34 +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
I've just finished a very small python script that - given as argument
a given folder X - will create a Zim tree "mapped" on it.
By this I mean that for each subfolder of X there will exist a
corresponding zim node.
I'm using it in crontab running it to constantly checking X, so that if
any subtree is added/deleted to/from X, the zim hierarchy of pages will
correspondingly be updated.
As I mentioned in past posts, I use it to extensively document my very
large work directory (X), inserting comments/images in any node of the
zim wiki.
I dont know if it can be of interest to others (and I'd like to mention
that I learned python just 1 week ago, please be kind to me...), so let
me know!
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~