TagStudio icon indicating copy to clipboard operation
TagStudio copied to clipboard

[Feature Request]: GitIngnore style exclusion

Open poseidon-rises opened this issue 1 year ago • 3 comments

Checklist

  • [X] I am using an up-to-date version.
  • [X] I have read the documentation.
  • [X] I have searched existing issues.

Description

Some folders you don't want to have in your library. For example, .obsidian folders.

Solution

Add the ability to exclude folders inside a library. This could include things like:

Music

**/.obsidian

Images/Screenshots/**

Alternatives

No response

poseidon-rises avatar Dec 03 '24 01:12 poseidon-rises

Duplicate of #14, but perhaps we could use this for any new conversation as to not accidentally kick a bee's nest

CyanVoxel avatar Dec 03 '24 01:12 CyanVoxel

Duplicate of #14, but perhaps we could use this for any new conversation as to not accidentally kick a bee's nest

Just as was mentioned in #14 by ItsThatOneJack-Dev, I too am using Syncthing, and would like to ignore the .stfolder directory and .stignore files library-wide. Things like the .stfolder are completely managed by that software and I don't think a user could put something like the suggested .tsnoindex file within it, so some sort of file ignore list/system within TagStudio's library would be best I think. Personally, I would find making and managing no-index files very annoying. A simple .gitignore style list edited within the TagStudio software (maybe on a per library basis) sounds very user-friendly to me.

I'm curious on your thoughts about having certain kinds of files ignored by default, and the possibility of users being able to specify select exceptions. For example: Windows creates desktop.ini files everywhere, and they can generally be ignored safely, but I do have a few custom ones I've created for my home directory. I wouldn't want to add an exception for all .ini files, or even desktop.ini files, just the few custom ones I made to make my home folders look nicer while still ignoring all others in all other libraries. Does that make sense?

roboticforest avatar Dec 10 '24 21:12 roboticforest

Oh whoops! Sorry @CyanVoxel! I forgot I had already mentioned file ignore exceptions here when I was tidying my notes today, and also didn't realize #158 was closed. 🤦‍♂️ I'll pay closer attention to the status indicators.

roboticforest avatar Dec 12 '24 03:12 roboticforest