FileCollector not respecting directories options
See original GitHub issueDescribe the bug When specifying multiple directories for the file system collector, Only the first directory has results. This only occurs on Windows 8, Windows Server 2012, Windows Server 2012R2. Does not occur on Windows 10, Windows Server 2016, Windows Server 2019.
To Reproduce Steps to reproduce the behavior:
- Run
asa.exe -f --verbose --directories "C:\Program Files","C:\Windows\System32"
Note: you can use different directories and also add more if you want - Observe that the file system collector parses the first directory and does not go to the next specified directory.
- File Collector completes
Expected behavior To parse all directories given.
Screenshots
System Configuration:
- OS: Windows
- OS Version: Windows 8, Windows Server 2012, Windows Server 2012R2
- Application Version: v2.2.41+4cdefe4f55
- CLI or GUI: CLI
Additional Context
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:9 (7 by maintainers)
Top Results From Across the Web
cp - Copy specific file type keeping the folder structure
CAVEAT: I'm using a recursive glob here; this is the globstar option in Bash 4+ and ksh , and is supported by default...
Read more >cp only files, skipping directories - linux
I'm using the -a option because it does a lot of nice default action, but if you want you can also use the...
Read more >zip file and avoid directory structure - python
I create a zip file of the csv and a non-zip file so I can check as well. The writer specifies the path...
Read more >tsconfig outDir does not keep directory structure #5134
I'm on version 1.6.2 Using directory structure - temp - some - dir ... for path options when pointing to the current working...
Read more >How to copy an entire folder structure without ...
Now open a Windows command window and run the following command. It's the /T option that copies just the folder structure not the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It’s very strange. Powershell should work so thanks for your report. I think it’s fine to go with caret delimiters and just sidestep this while windows 8 weirdness
-------- Original Message -------- On Jun 3, 2020, 12:09 PM, a-gazin wrote:
I opened an issue with the maintainer of the library we use as well.
https://github.com/commandlineparser/commandline/issues/640