[Bro-Dev] broctl archive copy vs move

Azoff, Justin S jazoff at illinois.edu
Tue Dec 13 12:22:58 PST 2016


> On Dec 13, 2016, at 3:12 PM, Aashish Sharma <asharma at lbl.gov> wrote:
> 
> So if we have compresscmd unset then archive-log script does a copy:
> 
> archive-log:    nice cp $file_name "$dest"
> 
> Any reason why it doesn't do move instead ? 
> 
> I propose changing cp to mv 

No.. I don't think there's any good reason.  The way it was originally written must have assumed the logs were going to be archived to a different filesystem.

-- 
- Justin Azoff




More information about the bro-dev mailing list