VMware Fusion Export VM to OVA

Credit to the source of this article

There’s no GUI option to export an OVA (Open Virtual Appliance) format VM in VMware fusion, but there is a command-line method. Use the OVF tool. The following provides a command-line synopsis.

$ cd /Applications/VMware\ Fusion.app/Contents/Library/VMware\ OVF\ Tool/

$ ./ovftool –acceptAllEulas \
> /Users/me/Documents/Virtual\ Machines.localized/TheVM.vmwarevm/TheVM.vmx \
> ~/Desktop/TheVM.ova

Opening VMX source: […]

Opening OVA target: […]

Writing OVA package: /Users/me/Desktop/TheVM.ova