1,798
edits
Changes
→Creating a Directory on a Virtual Machine Guest System
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/MyNewDir
</pre>
== Obtaining a Directory File 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 the '''' 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/fred
Directory list: 5
.esd_auth
.dmrc
.gconfd
.recently-used.xbel
Desktop
</pre>