Praxxian / lava-flow

A Foundry VTT module that allows you to import your notes from Obsidian MD into Foundry journal entries.
MIT License
58 stars 9 forks source link

exclude the whole .obsidian and .trash folders #14

Closed MisterIXI closed 1 year ago

MisterIXI commented 2 years ago

On File import, ignore all files containing the ".obsidian" and ".trash" folders in their filepath.

Changed the check from filename only to ".include" on the path since it only excludes the folder itself otherwise. Also added the ".trash" folder since it shouldn't contain any files of interest which would get needlessly imported otherwise.

Feel free to change/deny if my fix is wrong.

Praxxian commented 2 years ago

Apologies for the long wait. I have had some family stuff going on and have not been able to work on the project for a little while. I very much would like to get back to maintaining it, so thank you for your patience.

I thought this was already handled by skipping the ".obsidian" folder, and I thought ".trash" was under that. I will review, so thank you for the contribution!