Changes

Jump to: navigation, search
Using vmrun to Work with Guest Operating Systems Files and Directories
<pre>
vmrun -T server -h https://xps:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd deleteFileInGuest deleteFileInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred/MyFile
</pre>
<pre>
vmrun -T server -h https://xps:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd createDirectoryInGuest createDirectoryInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/nas/foo
</pre>
<pre>
vmrun -T server -h https://xps:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd deleteDirectoryInGuest deleteDirectoryInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/nas/foo
</pre>
<pre>
vmrun -T server -h https://xps:8333/sdk -u root -p 3579xps -gu fred -gp guestpasswd listDirectoryInGuest guestpassword listDirectoryInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred
Directory list: 5
.esd_auth
<pre>
vmrun -T server -h https://xps:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd copyFileFromGuestToHost copyFileFromGuestToHost "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred/MyFile /tmp/MyFile
</pre>
<pre>
vmrun -T server -h https://xps:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd copyFileFromHostToGuest copyFileFromHostToGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /tmp/MyFile /home/fred/MyFile
</pre>
<pre>
vmrun -T server -h https://xps:8333/sdk -u root -p mypassword -gu fred -gp guestpasswd renameFileInGuest renameFileInGuest "[Vol1] CentOS 5.2/CentOS 5.2.vmx" /home/fred/MyFile /home/fred/MyNewFile
</pre>
1,798
edits

Navigation menu