From 4cb3a55362e33b4e72a8a4e4e93d12398d161242 Mon Sep 17 00:00:00 2001 From: "Patrik J. Braun" Date: Sat, 5 Sep 2020 18:48:06 +0200 Subject: [PATCH] Adding default trash folders to the folder exclusion list #161 --- src/common/config/private/PrivateConfig.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config/private/PrivateConfig.ts b/src/common/config/private/PrivateConfig.ts index 50425345..61fa91c0 100644 --- a/src/common/config/private/PrivateConfig.ts +++ b/src/common/config/private/PrivateConfig.ts @@ -103,7 +103,7 @@ export module ServerConfig { ' If it doesn\'t start with \'/\' but contains a \'/\', the path is relative to the image directory.' + ' If it doesn\'t contain a \'/\', any folder with this name will be excluded.' }) - excludeFolderList: string[] = []; + excludeFolderList: string[] = ['.Trash-1000', '.dtrash', '$RECYCLE.BIN']; @ConfigProperty({arrayType: 'string', description: 'Any folder that contains a file with this name will be excluded from indexing.'}) excludeFileList: string[] = []; }