Home > Article > System Tutorial > Virtual machine mac file interaction (how to copy files in the mac virtual machine to the host)
php editor Youzi will introduce to you how to interact with virtual machine mac files, that is, how to copy files in the mac virtual machine to the host. In a virtual machine, we can use the shared folder function to transfer files. First, select "Shared Folders" in the virtual machine settings and add the folders that need to be shared. Then, use Terminal or Explorer in the virtual machine to access the shared folder and copy the files into the folder. Finally, in the host, copy the files from the shared folder to the specified directory of the host through the network or the related functions of the virtual machine software. In this way, we can easily interact with files between the virtual machine and the host.
The first step is to create a new folder on the computer desktop or disk. In the second step, double-click or right-click the virtual machine, select Installed System, and enter to edit virtual machine settings.
Open the VMware virtual machine and ensure that the operating system in the virtual machine is turned off. Click "Edit Virtual Machine Processing" to pop up the "Virtual Machine Settings" window. In the "Virtual Machine Settings" window, select "Shared Folders" in "Options". Click "Always enable" and then click "Add."
In Windows system, open the folder to be shared, right-click the folder and select "Properties". In the properties window, switch to the Sharing tab and click Advanced Sharing.
For demonstration, we can put a file named test.zip in the shared folder of the host. Then open the virtual machine and launch the terminal on the desktop. Enter the command: cd /mnt/hgfs and press Enter. Enter the command ls again to see our shared folder.
First, select the virtual machine system on my computer in the virtual machine main interface, and then click Edit Virtual Machine Settings on the right. Then, find the shared file option in the Options tab column in the virtual machine settings and click it. Next, click the Add button on the right side of the shared file page.
With the virtual machine powered off, double-click the hard disk in the device column on the right, select "Utilities" in the pop-up window, and then click "Mapping".
If you want to share multiple folders, you can add them in the sharing settings window of the virtual machine.
The steps are as follows: 1. First, enter the virtual machine, and then open the [Finder Preferences] window. 2. In the window, check all menu options one by one as shown in the figure below. 3. After the check is completed, click the [Virtual Machine-Install Vmware Tools] option in sequence according to the arrow in the picture below.
Click on the virtual machine settings and find the sharing option. In Fusion x and x versions, turn on the shared folder option. In the Fusion x version, select the Shared Folders on Mac option. Click the button. Browse and select the folder you want to share with the virtual machine, and click Add.
First of all, the two computers need to be in the same LAN; open the shared folder of win7: (1) Right-click on the file to be shared, select "Share", and select "Specific User"; (2) ) to select the login username to share.
Next, we open the "Computer" window in the virtual machine. You can see a Share Folders directory with a share identifier. Please click to open it.
To share the file, right-click on the file. When it comes out, there is a sharing option in the middle. Click in That’s it! I hope it will be adopted, come on! If it is shared on a MAC, after Windows can successfully access the file sharing on the Mac, let's try sharing a file on the Mac.
After starting the virtual machine, click "tools→insertintegrationdisk", then uninstall the old version of the integration tool in the virtual machine, and install the new software in the virtual machine's CD-ROM drive.
First of all, the two computers need to be in the same LAN; open the shared folder of win7: (1) Right-click on the file to be shared, select "Share", and select "Specific User"; (2) ) to select the login username to share.
To view the workgroup to which OSX belongs, please refer to the following steps: Open "System Preferences" - enter "Network", select the currently active network connection - click the "Advanced" button - click on the "WINS" option The name of the workgroup is visible in the card. Make sure the workgroup names they belong to are the same and then open the file sharing in Windows 7.
To set up LAN file sharing, first make sure that the multiple Mac computers being shared with are in the same LAN and click the Apple logo in the upper left corner of the screen. Select System Preferences. Once it opens, select "Network."
How to share folders between Mac and Vmware? If you want to share multiple folders, you can add them in the sharing settings window of the virtual machine.
(1) Right-click on the file to be shared, select "Share", and select "Specific User"; (2) Select the login username to be shared.
Let’s take sharing the desktop on a Mac computer as an example here, as shown in the figure. How do Mac and Vmware share folders? Next, we start the virtual machine. After entering the system, the Vmware Tools tool prompts us that it has detected a shared folder with the host. We need to log out to use it. Click the "OK" button to continue.
The virtual machine provides us with sharing options such as "Desktop, Documents, Music, Pictures" on Mac by default; if you want to add other folders, please click the " " button, and after the addition is completed, you can You can see the newly added shared directory in the sharing settings window of the virtual machine.
1. If you want to share multiple folders, you can add them in the sharing settings window of the virtual machine.
2. The first step is to enter the virtual machine, then open the [Finder Preferences] window, and then check all menus in sequence as shown in the figure below. After the second step is checked, click the [Virtual Machine-Install Vmware Tools] option in sequence according to the arrow in the picture below.
3. First, the two computers need to be in the same LAN; open the shared folder of win7: (1) Right-click on the file to be shared, select "Share", and select "Specific User"; (2) Select the login username to be shared.
Conclusion: The above is a summary of the answers related to virtual machine mac file interaction compiled by this site for you. I hope it will be helpful to you! If your problem is solved, please share it with more friends who care about this problem~
The above is the detailed content of Virtual machine mac file interaction (how to copy files in the mac virtual machine to the host). For more information, please follow other related articles on the PHP Chinese website!