Hello Pl.

Thanks a lot for your hint about hidden directories starting with "." or "_". It works. Very good! Also, all subdirectories and contents, even with ordinary
names, are ignored also, as in:

mkdir -p             .HideMe/InvisiblePage
echo "Hello world" > .HideMe/InvisiblePage.txt
echo "Year 2016  " > .HideMe/InvisiblePage/SomeAttachment.asc

Nevertheless you may link files in those directories as usual, just
adjust the path accordingly. I didn't know this possibility, which solves
everything needed. This gives the possibility to embed a whole tree of
any sort within zim.

This should also find its way into the zim help pages, assuming it is
a stable intentionally designed feature.


Thank you!

Best regards and happy new year,

     Andreas



On 12/23/2015 05:20 PM, Pl wrote:
     Hi Andreas,
     I think this feature may be useful. But, IMHO, it's not very
convenient to add '.zimignore' file to each directory you want to
ignore. Also there will be confusion if you create a new subpage with
the same name as the directory (the subpage will try to use it for
subsubpages). I think it may be easier to create a directory with a
special name which will be ignored by zim and put attachments there.
     For example, as I know zim currently ignores directories which
starts with '.' or '_' (they are considered as hidden) and doesn't allow
to create such pages. If there is no special meaning in ignoring them it
may be possible to use a directory with a name like '_attachments' or
'.attachments' as a storage for files/dirs to be ignored.

Regards, Pl

On 11.12.2015 10:59, Wehler Andreas wrote:
Hi.

What about attaching a subtree within a zim book which is ignored by
zim, say, not handled as pages?



_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to