From 312a7222b4ce622b700063acf4289438789c5cb3 Mon Sep 17 00:00:00 2001 From: PhatPhuckDave Date: Sun, 7 Dec 2025 01:12:31 +0100 Subject: [PATCH] Enable directory matching unless filesonly --- instruction.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/instruction.go b/instruction.go index de59532..f57bbc4 100644 --- a/instruction.go +++ b/instruction.go @@ -587,13 +587,6 @@ func ExpandPattern(source, workdir, target string, filesOnly bool) (links []Link continue } - if info.IsDir() { - // We don't care about matched directories - // We want files within them - LogInfo("Skipping directory %s", file) - continue - } - targetPath := filepath.Join(target, file) links = append(links, LinkInstruction{