[Bro-Dev] broctl archive copy vs move
Robin Sommer
robin at icir.org
Wed Dec 14 07:31:38 PST 2016
On Tue, Dec 13, 2016 at 20:22 +0000, you wrote:
> The way it was originally written must have assumed the logs were
> going to be archived to a different filesystem.
Yes, indeed, pretty sure that was the reason. If we just replaced "cp"
with "mv" that would still be an issue, right? We'd need something a
bit more smart that does the right thing in either case, like Python's
shutil.move does,
https://docs.python.org/2/library/shutil.html#shutil.move
Robin
--
Robin Sommer * ICSI/LBNL * robin at icir.org * www.icir.org/robin
More information about the bro-dev
mailing list