Make rclone lsd obey the filters properly
This commit is contained in:
parent
cb9f1eefd2
commit
3bdfa284a9
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue