You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to show "Last modified" timestamp for each found file in result list? (prepended or as additional column) #1285
Assume I search in all *.pdf files on a partition for a certain pattern.
The result list contains 20 matches.
Unfortunately I cannot see the last modified timestamp of each file.
How can I tell dnGrep to show this "Last modified" timestamp (sortable in format yyyy.mm.dd hh.mm.ss) either
as new separate column or prepended to each file name in result list?
This has been requested a least a few times in the past - #954 for one. I have tried adding columns to the results tree, but it did not work. Just appending more data - last write time, file size, etc., makes it very difficult to read.
You can sort the results by 'Last write time' and get the date and time in the tooltip as @fade2gray says above.
Another idea would be to replace the results tree with a list of files, like Windows file explorer in Details view. Then it could show file path, file name, match count, read only, date modified, size or other data in columns. You could then drill down into a selected file with a double click, button or keyboard shortcut and show the matches in a format similar to the second level of the current tree. But you would be looking at one file at a time and you would lose is the ability to view the match results from multiple files and continuously scroll through them as you can now.
This would be a lot of work, and I don't know if I have the time to work on it.
Пожалуй соглашусь что при определенных событиях это помогает в поиске данных.
Возможно лучшее решение не заменять текущий вид, а добавить переключатель на вид как в explorer.
Everyone: I had some time to work on this (with a lot of help from Claude Opus 4.6) and have made a lot of progress. This is an optional view: you can switch between this new Details view and the original view.
The columns shown below are resizable, sortable, and dragged to reorder. All changes are stored in the dnGrep settings file. Sorting by column uses the same sorting as on the Sort menu. Opening the tree node works the same as before, showing lines with matches. The context menu is the same as before but is attached only to the file name column.
These columns match up with the information shown on the original view, plus the file size, file type, and last modified date. The Path is the relative path from the search directory, as in the original view. The Info column is currently used for the Excel sheet name or the PowerPoint slide number.
Are there any other columns you would like to see in the details view? Anything else I have missed?
Looks very impressive! Thank you! It's a big step that is helpful.
There's a thing that might help (although I never quite needed it): an "export the list" functionality. I'm only mentioning it here because i'm imagining that is not very hard to implement.
@florinbuda85 Exporting the data should already be covered by the last five items on the More... menu (just to the right of the Sort button). The three 'Copy' items copy data in various formats to the clipboard. There are also three file formats which can be customized using the Report options.
Activity
fade2gray commentedon Mar 9, 2025
You can view the file details by hovering the mouse cursor over each result (#1011) - being able to sort by timestamp would be useful.
doug24 commentedon Mar 9, 2025
This has been requested a least a few times in the past - #954 for one. I have tried adding columns to the results tree, but it did not work. Just appending more data - last write time, file size, etc., makes it very difficult to read.
You can sort the results by 'Last write time' and get the date and time in the tooltip as @fade2gray says above.
Another idea would be to replace the results tree with a list of files, like Windows file explorer in Details view. Then it could show file path, file name, match count, read only, date modified, size or other data in columns. You could then drill down into a selected file with a double click, button or keyboard shortcut and show the matches in a format similar to the second level of the current tree. But you would be looking at one file at a time and you would lose is the ability to view the match results from multiple files and continuously scroll through them as you can now.
This would be a lot of work, and I don't know if I have the time to work on it.
florinbuda85 commentedon Apr 2, 2026
hey @doug24 ,
i just came here with the same issue - a grid display would be very helpful. please consider making this change
VladTester255 commentedon Apr 7, 2026
Пожалуй соглашусь что при определенных событиях это помогает в поиске данных.
Возможно лучшее решение не заменять текущий вид, а добавить переключатель на вид как в explorer.
doug24 commentedon Apr 20, 2026
Everyone: I had some time to work on this (with a lot of help from Claude Opus 4.6) and have made a lot of progress. This is an optional view: you can switch between this new Details view and the original view.
The columns shown below are resizable, sortable, and dragged to reorder. All changes are stored in the dnGrep settings file. Sorting by column uses the same sorting as on the Sort menu. Opening the tree node works the same as before, showing lines with matches. The context menu is the same as before but is attached only to the file name column.
These columns match up with the information shown on the original view, plus the file size, file type, and last modified date. The Path is the relative path from the search directory, as in the original view. The Info column is currently used for the Excel sheet name or the PowerPoint slide number.
Are there any other columns you would like to see in the details view? Anything else I have missed?
fade2gray commentedon Apr 20, 2026
Excellent, as always. 👍
florinbuda85 commentedon Apr 21, 2026
Looks very impressive! Thank you! It's a big step that is helpful.
There's a thing that might help (although I never quite needed it): an "export the list" functionality. I'm only mentioning it here because i'm imagining that is not very hard to implement.
doug24 commentedon Apr 21, 2026
@florinbuda85 Exporting the data should already be covered by the last five items on the
More...menu (just to the right of the Sort button). The three 'Copy' items copy data in various formats to the clipboard. There are also three file formats which can be customized using the Report options.doug24 commentedon May 12, 2026
Added in v4.7.54