Add temporary suffix while Acquire is still running
During historical engagements, there have been cases where Acquire was deployed to many systems, with all resulting .tar.gz output files being written to a single fileshare. Although the .log file indicates the completion status of the Acquire run, it is hard to assess the status without opening and inspecting this file. As a result, Acquire output files are sometimes copied before the Acquire process has finished, leading to corrupt and/or incomplete output files.
Would it be an idea to add an additional suffix to the output archive/file/directory while Acquire is still running. E.g. start by writing all results to file:
HOSTNAME_20240625102705.tar.gz.running
and once the process has finished with success, rename this file to
HOSTNAME_20240625102705.tar.gz
In this way, it's easier to spot which Acquires have not yet finished and should not be copied. Obviously the .running suffix can be anything, maybe .tmp or .active are more suitable.