Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
This repository was archived by the owner on Dec 10, 2025. It is now read-only.

exclude multiple directories from scan #57

@stefanw138

Description

@stefanw138

Excluding a single directory from the scan works fine with below command:

Log4jScanner.exe /scan /exclude_directory "C:\$Recycle.Bin\"

However when I try to exclude multiple directories from the scan, it fails:

Log4jScanner.exe /scan /exclude_directory "C:\$Recycle.Bin\" /exclude_directory "C:\Users\"

In the latter case, the C:$Recycle.Bin\ directory is being scanned again as well as the C:\Users\ directory.
It would be very helpful to exclude multiple directories from the scan as the recycle bin from different volumes would need to be excluded as well as the users home directories.

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions