Skip to content

test issue #13

@thenguyenltv

Description

@thenguyenltv
private static void PrintHelp()
{
    Console.ForegroundColor = ConsoleColor.Cyan;
    Console.WriteLine("Exfiltration — Fast Multithreaded File Search");
    Console.ResetColor();

    Console.WriteLine(@"

Usage:
Exfiltration.exe [options]

Search Options:
-path Folder to scan (default: current directory)
-name Wildcard filter, e.g. .txt, logs.zip
-re Regex name filter (overrides -name)
-r, --recurse Search subdirectories (default: on)
-nr, --no-recurse Top directory only
-d, --dirs Include directories in results

Size Filters:
--minsize= Minimum size, e.g. 10KB, 2MB, 1GB
--maxsize= Maximum size, e.g. 500KB, 1GB

Time Filters:
--ctafter=YYYY-MM-DD
--ctbefore=YYYY-MM-DD
--mtafter=YYYY-MM-DD
--mtbefore=YYYY-MM-DD

Content Search:
--content= Search inside files (only ≤2MB files)

Output:
--otxt= Export matched paths to .txt
--ocsv= Export detailed results to .csv

Help:
--help, -h Show help menu

Examples:
Exfiltration.exe -path D:\ -name *.txt
Exfiltration.exe -path C:\ -re ""^report_[0-9]+.pdf$"" --minsize=1MB
Exfiltration.exe -path E:\ --no-recurse --maxsize=500KB -d
Exfiltration.exe -name *.log --out-txt=logs.txt
Exfiltration.exe -path C:\Projects --content=TODO --out-csv=results.csv
");
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions