mirror of https://github.com/stashapp/stash.git
Updated to add the Clean task as supported as of commit 52dd019
parent
557bdaa297
commit
817953d877
|
@ -1,6 +1,7 @@
|
|||
As of commit 0714cbf basic exclude file from scan feature is supported in the dev build.
|
||||
Commit 52dd019 extended this for the clean task also.
|
||||
|
||||
Given a valid [regex](https://github.com/google/re2/wiki/Syntax), files that match even partially are excluded during the Scan process and are not entered in the database.
|
||||
Given a valid [regex](https://github.com/google/re2/wiki/Syntax), files that match even partially are excluded during the Scan process and are not entered in the database.Also during the Clean task if these files exist in the DB they are removed from it and their generated files get deleted.
|
||||
Prior to matching both the filenames and patterns are converted to lower case so the match is case insensitive.
|
||||
|
||||
Regex patterns can be added in the config file or from the UI.
|
||||
|
@ -16,7 +17,7 @@ exclude:
|
|||
- "/\\.[[:word:]]+/"
|
||||
- "c:\\\\stash\\\\videos\\\\exclude"
|
||||
- "^/stash/videos/exclude/"
|
||||
- "^\\\\\\\\stash\\network\\\\share\\\\excl\\\\"
|
||||
- "\\\\\\\\stash\\network\\\\share\\\\excl\\\\"
|
||||
```
|
||||
* the first excludes all files ending in `sample.mp4` ( `.` needs to be escaped also)
|
||||
* the second hidden directories `/.directoryname/`
|
||||
|
|
Loading…
Reference in New Issue