Changes

Jump to: navigation, search
Obtaining a Directory File Listing
<pre>
vmrun -T server -h https://hostname:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd
createDirectoryInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred/MyFileMyNewDir</pre> == Obtaining a Guest Directory Listing == Before remotely working with a directory residing on a virtual guest system, it may be necessary to obtain a listing of the contents of that directory. Fortunately this can be obtained using ''vmrun'' with the ''listDirectoryInGuest'' command: <pre>vmrun -T server -h https://hostname:8333/sdk -u root -p mypassword -gu fred -gp guestpassword listDirectoryInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fredDirectory list: 5.esd_auth.dmrc.gconfd.recently-used.xbelDesktop
</pre>
<pre>
vmrun -T server -h https://hostname:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd
deleteDirectoryInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred/MyFileMyNewDir
</pre>
1,798
edits

Navigation menu