zevv / duc

Dude, where are my bytes: Duc, a library and suite of tools for inspecting disk usage
GNU Lesser General Public License v3.0
585 stars 79 forks source link

File Time stamp #249

Open hyaman opened 4 years ago

hyaman commented 4 years ago

Hi there

Can duc capture the time and date of the file and include on the index? that way we can compare files changed between each index run

Thanks HY.

l8gravely commented 4 years ago

Hal> Can duc capture the time and date of the file and include on the Hal> index? that way we can compare files changed between each index Hal> run

Each index is independent, we don't have a way to (currently) compare the differences between two different runs of duc. If you want to try to implement this... go for it!

I think as an initial first past, just showing those files which have been added/deleted/changed in size would be enough. Those are really the only differences that you need.

Now the question becomes how to show the changes, both graphicalls (GUI and CGI web) as well as in the ncurses UI. I don't have any good ideas right now, and I'm trying to find time to push out a new release.

John

hyaman commented 4 years ago

Hi there,

Thanks for your reply. I was after capturing the files date/time during the indexing process that all. I hope this can be added (for example: drwx------ 3 root root 4096 Jul 13 07:44)

Thanks