From 6117cac1fdd6ed2688248629bceef45a85b9abd1 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 --- app/coffee/OutputFileFinder.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/coffee/OutputFileFinder.coffee b/app/coffee/OutputFileFinder.coffee index dcec5f5..b4a9162 100644 --- a/app/coffee/OutputFileFinder.coffee +++ b/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)