ovftool.exe <source locator> <target locator>
ovftool.exe vi://<ESXi-host-ip/vm-name>
Ex: ovftool.exe vi://192.168.0.160/Test-VM H:\
# Windows
ovftool.exe vi://192.168.0.160/MikroTikOS6 F:\VMware
ovftool vi://[email protected]/MikroTikOS6 F:\VMware\MikroTikOS6.ova
# Linux
./ovftool vi://192.168.0.160/MikroTikOS6 /path/to/directory/folder
ovftool --noSSLVerify vi://[email protected]/MikroTikOS6 /path/to/directory/folder/MikroTikOS6-2/MikroTikOS6.ova
========================================================================================
# Linux ovftool Patch
VMware-ovftool-4.4.3-18663434-lin.x86_64.zip :
# File :
ovftool/ovftool : line : 1
#!/bin/bash
=>
#!/bin/sh
========================================================================================
# Make Archive
tar -czvf MikroTikOS6.tar.gz MikroTikOS6
tar -czvf MikroTikOS6.tar.gz /path/to/directory/folder/MikroTikOS6
# Find file in VMware
find / -name "*.vmx"
Article ID: 87
Created On: Fri, Dec 31, 2021 at 7:57 PM
Last Updated On: Sat, Jan 1, 2022 at 12:13 PM
Authored by: Saeed Nobakht [[email protected]]
Online URL: https://www.navel.ir/article/how-to-export-a-virtual-machine-using-the-vmware-ovf-tool-87.html