diff --git a/server/utils/fileUtils.js b/server/utils/fileUtils.js index 14e4d743c..5d0d5e236 100644 --- a/server/utils/fileUtils.js +++ b/server/utils/fileUtils.js @@ -167,7 +167,8 @@ async function recurseFiles(path, relPathToReplace = null) { extensions: true, deep: true, realPath: true, - normalizePath: true + normalizePath: true, + exclude: ['@eaDir', '#snapshot'] } let list = await rra.list(path, options) if (list.error) { @@ -440,4 +441,4 @@ module.exports.getDirectoriesInPath = async (dirPath, level) => { Logger.error('Failed to readdir', dirPath, error) return [] } -} \ No newline at end of file +}