I have assembled some of my tools for massaging logs for upload to the ARRL’s Logbook of the World (LoTW). They’re written in perl and should run with just about any modern perl distribution, including that found on Macs and GNU/Linux distributions.
The principal features are: conversion from TRLog log.dat and mangled Cabrillo files to ADIF and fixing hour offsets.