From 9c7e8af851cb390d12ad19b9789083801b39b24c Mon Sep 17 00:00:00 2001 From: James Allen Date: Wed, 30 Mar 2016 11:41:11 +0100 Subject: [PATCH] Ignore both .cache and .archive and other hidden files in finding output files --- services/clsi/app/coffee/OutputFileFinder.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/clsi/app/coffee/OutputFileFinder.coffee b/services/clsi/app/coffee/OutputFileFinder.coffee index dcec5f5df6..b4a9162581 100644 --- a/services/clsi/app/coffee/OutputFileFinder.coffee +++ b/services/clsi/app/coffee/OutputFileFinder.coffee @@ -29,7 +29,7 @@ module.exports = OutputFileFinder = _callback(error, fileList) _callback = () -> - args = [directory, "-name", ".cache", "-prune", "-o", "-type", "f", "-print"] + args = [directory, "-name", ".*", "-prune", "-o", "-type", "f", "-print"] logger.log args: args, "running find command" proc = spawn("find", args)