Closed louietyj closed 4 years ago
Hi! Not checking files recursively was actually a feature, because if you launch it on the wrong directory you won't be able to stop the application to go through ALL of your files, at least if your are using the GUI.
Any idea on how to mitigate that?
Hello! I'm on Windows so I'm not too sure what the GUI looks like, but if the concern is with too many files, you could set an explicit warning on the UI? On the shell we can ctrl-C so it's fine.
The explicit warning would be already too late, the first process search every folder and dispatch new instances for every file found. So that's why doing this on C: can quickly get out of control ^^
I think the best course of action would be limiting the depth of recursion to like two or three level, but the quickest course of action would probably be to limit recursion to CLI mode (because no new instances are spawned and ctrl-c is possible).
Allright I merged this but made it recurse only when using the CLI
As title
Test Plan