joelanford / goscan

A simple tool to scan text, binary, and archive files for keywords
MIT License
2 stars 2 forks source link

File names in output are not specific enough #15

Closed joelanford closed 7 years ago

joelanford commented 7 years ago

Currently, the output only shows the base name of files, so /etc/hosts shows up as hosts, which can be confusing. Even worse, files with the same base name in different paths will not be differentiated at all.

The solution to this is to prefix files with the directory name that was used on the command line, making sure to also prefix unarchived file paths as well.

joelanford commented 7 years ago

Closed by 16c553d