There appears to be 3 different file formats associated with the ".pcap" extension -- libpcap /w microsecond timestamps, libpcap /w nanosecond timestamps, and pcapng.
Is there an easy way to differentiate between them that is scriptable? Either cmd, powershell, or bash is acceptable.