EricZimmerman / EricZimmerman/SQLECmd

Adding OG File Name Variable for Output CSV

Open
#54 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C#
Stars
61
Forks
23
PR merge metrics
No merged PRs in 30d

Description

** SQLECmd version **
1.0.0.0

**Is your feature request related to a problem? Please describe.**
Processing multiple similar formatted files that use the same Map cause indistinguishable resulting CSVs.

**Describe the solution you'd like**
When running with seek across Maps, would be great to have a potential variable to the "BaseFileName" field that would add the original file name that is processed to the final CSV filename.

**Describe alternatives you've considered**
N/A

**Additional context**
See screenshot below, the original DB files on the right and the resulting files on the left. I have to manually open each CSV to figure out which correlates to which original DB.

![Screenshot 2022-05-13 155328](https://user-images.githubusercontent.com/48143894/168380162-c509d3fb-9daf-4b20-9718-ed1413dfcc7f.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the BaseFileName handling and the output path used when seeking across Maps. Trace how the original database filename is available during processing and verify that completed CSV names distinguish the source files without changing other output behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.