I’m looking for an idea on how to get an output of sha1 for some files, but also not interfere with the the once a day process that creates these files.
I have multiple machines that, in theory, all should have the same files. I want to verify that the files are the same across all machines using the bigfix sha1 analysis, but like I mentioned above, I don’t want to potentially interfere with these files which are backed up/created once a night.
Is there a relevance that will prevent the analysis from running during a certain time window?
Is there a better approach to achieving this that I am not conceptualizing?
Thank you ahead of time for anyone who has any input.
BigFix won’t touch files that are open for writing, which is the right thing to do when it comes to SHA1 evaluation.
This is actually a bit annoying. I’d actually like the option to accept the responsibility of odd results and be able to read a file that is open for writing in some cases, particularly when it comes to Log files that are always open for writing.
Basically you can use locked lines of file
to read from a locked file. The opens the file in a shared-read mode rather than exclusive-read so you can usually read things like a log file that’s still being actively written.