akosbalasko / zoottelkeeper-obsidian-plugin

Obsidian plugin of Zoottelkeeper: An automated folder-level index file generator and maintainer.
188 stars 13 forks source link

I cannot get the exclude folder function to work #60

Closed UKViking closed 2 years ago

UKViking commented 2 years ago

Your documentation says "they must be aboslute paths starting from the root vault seperated with a comma". But, there is no examples- even just a small example would be very helpful!

I have tried the following and nothing exludes the root folder/ / VaultName/ /VaultName/ /VaultName /, VaultName/. /VaultName/, /VaultName, ,/, ,VaultName/. ,/VaultName/, ,/VaultName,

What am I doing wrong?

UKViking commented 2 years ago

An update - I see it works by doing

FolderName,

HOWEVER, how do I exclude the root folder? I don't want an index there. Nothing works.

crispinb commented 2 years ago

Likewise. Based on reading the settings info, I was a little unclear about the format (should it include the root vault name, should there be trailing slashes, should the OS-appropriate slash be used, is the comma mandatory even when there is only 1 exclusion). But I've tried all the combinations, and regardless I get index files in all directories.

cesar-programs commented 2 years ago

It would be nice to be able to exclude the root folder

vereym commented 2 years ago

Yeah having the same problem :/

UKViking commented 2 years ago

To all the users facing this issue, I found a very simple workaround for excluding folders, until the author does an update or responds:

  1. Close Obsidian, to prevent it from auto-updating the index files.
  2. Open the root index in Text editor. Delete everything inside.
  3. Right click, properties (or Get Info on Mac). Make the file read-only.

Voila

akosbalasko commented 2 years ago

Hi all,

in version 0.18.0 I tried to improve the include/exclude feature, now it accepts absolute folders with or without starting '/' characters, moreover if you type '*' at the end of the folder, it means that the folder and its recursive subfolders are excluded/included. Sorry for the problems, I hope it works a bit better now.