From 3bdfa284a909e6324e75d16de3f54380c5d55280 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 7 Dec 2016 11:16:36 +0000 Subject: [PATCH] Make rclone lsd obey the filters properly --- fs/operations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/operations.go b/fs/operations.go index e48b26a07..971aba4d1 100644 --- a/fs/operations.go +++ b/fs/operations.go @@ -754,7 +754,7 @@ func ListDir(f Fs, w io.Writer) error { if Config.MaxDepth > 0 { level = Config.MaxDepth } - list := NewLister().SetLevel(level).Start(f, "") + list := NewLister().SetFilter(Config.Filter).SetLevel(level).Start(f, "") for { dir, err := list.GetDir() if err != nil {