linux sync to window and delete some logs files