Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Add ability to save the history and the contents from hwatch to a text file #177

Open
dmilith opened this issue Dec 1, 2024 · 1 comment

Comments

@dmilith
Copy link

dmilith commented Dec 1, 2024

The idea is simple:

I leave hwatch running a command in the background every 60 seconds.
After a day I'd like to store the whole history and the diff to a file (any format would work)

@blacknon
Copy link
Owner

blacknon commented Dec 8, 2024

Got it. I'd like to hear more about your use case.

Currently, hwatch has a "log output feature (-l)" and a "batch mode (-b)" that outputs to standard output on detecting differences without using the TUI. I want to confirm whether your case can be addressed by adding functionality to either of these features.

In the current log feature of hwatch, differences before and after changes are not recorded in the log. Would the issue be resolved if the differences were recorded in the log?
Alternatively, could this be addressed by allowing customization of the content output in batch mode?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants