Changes

Jump to: navigation, search
Obtaining a Directory File Listing
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 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/fred
Directory list: 5
.esd_auth
.dmrc
.gconfd
.recently-used.xbel
Desktop
</pre>
1,798
edits

Navigation menu