If you have files that you need to share between your Windows, Mac, and Linux computers on a network, there are a few different ways to do it. You can use a file sharing program like Samba or NFS, or you can use the built-in sharing features of each operating system. Here’s how to share files between Windows, Mac, and Linux computers using each method:
- Use a File Sharing Program like Samba or NFS If you want to share files between your Windows, Mac, and Linux computers using a file sharing program like Samba or NFS, the first thing you need to do is install the program on each computer. Then you need to configure the program so that it can access the shared folders on your other computers. To do this, open the file sharing program on one of your computers and click “Shares” in the menu bar. From here, select “Add New Share.” In the “Share Name” field, type a name for your shared folder (for example “My Files”), and in the “Path” field type the path to the folder where you want your files to be stored (for example C:\My Documents). Click OK button to create your new share.
- Use Built-in Sharing Features of Each Operating System If you want to share files between your Windows computer and Mac computer without using a file sharing program like Samba or NFS, both machines need access to the same network drive. On your Windows computer, open File Explorer (Windows XP/Vista/7) and navigate to C:\Documents and Settings\All Users\Application Data\Microsoft\Windows\Network Shortcuts. Right-click on Network Shortcuts icon and select Properties from pop-up menu. In General tab of Properties window enter \192.168.. in Target field (replace 192.168.. with actual IP address of Mac) and click OK button. Now when you ..
Home file sharing used to be a nightmare, even between different versions of Windows — never mind Mac and Linux! These operating systems can now talk to each other and share files without any special software.
We’ll be using the SMB protocol for this. Windows uses SMB for file sharing, while both Macs and popular Linux distributions have built-in support for SMB. Microsoft even submitted patches to the open-source Samba project to improve it!
Share a Folder on Windows
RELATED: How to Easily Share Files Between Nearby Computers
You’ll need to enable old-fashioned file sharing on Windows, as other operating systems can’t access homegroups. To do this, open the Control Panel and navigate to Network and Sharing > Change advanced sharing settings. Enable “network discovery” and “file and print sharing.”
Tweak the other options here if you’d like to share public folders over the network without requiring a password.
RELATED: Customizing Your Network Sharing Settings
Locate the folder you want to share in Windows Explorer or File Explorer, right-click it, and select Properties. Click the Sharing tab and use the options here to share a folder and configure its permissions.
Access a Shared Folder from Windows
Visit the Network pane in Windows Explorer or File Explorer to view other computers sharing files with you. You’ll see properly configured Mac and Linux computers appear in this list along with nearby Windows PCs. Double-click a computer to view its shared files.
You can also connect directly to a computer if you know its name or IP address. Just type //COMPUTERNAME into Windows Explorer or File Explorer’s location bar and press Enter. Replace COMPUTERNAME with the computer’s local IP address if you want to connect directly to an IP address instead.
Share a Folder on Mac OS X
You’ll need to enable network file sharing to share folders on your Mac. Open System Preferences by clicking the Apple logo and selecting System Preferences. Click the Sharing icon and enable File Sharing. Click the Options button here and ensure “Share files and folders using SMB” is enabled.
Use the Shared Folders column to choose additional folders to share. Use the Users column to choose which users and groups can access and write to them.
Access a Shared Folder from Mac OS X
Open the Finder, click Go on the menu at the top of the screen, and select Connect to Server. Enter the following address, replacing COMPUTERNAME with the Windows computer’s name: smb://COMPUTERNAME. You can also enter the other computer’s local IP address instead of its name.
You’ll be prompted to authenticate with the appropriate credentials or log in as a guest. After you’ve connected, the computer will appear under the Shared column in the Finder’s sidebar.
To automatically connect to the shared folder each time you log in, open the System Preferences window and navigate to Users and Groups > Login Items. Drag and drop the network share from under the Shared column in Finder to the list of Login Items.
Share a Folder on Linux
Use your desktop’s file manager to share a folder on Linux. We used the Nautilus file manager on Ubuntu 14.04 here, but the process should be similar with other file managers.
Open the file manager, right-click a folder you want to share, and select Properties. Click the Local Network Share tab and enable sharing for that folder. If this is the first time you’ve enabled sharing, you’ll be prompted to download and install the Samba software — this happens automatically when you provide your password.
Configure your sharing settings after installing the Samba software — be sure to click the Create Share button to start sharing the folder.
Access a Shared Folder from Linux
Your Linux deksotp’s file manager probably includes a network browser you can use to locate and access shared folders on the local network.
Click the Browse Network option in the file manager’s sidebar. You can then double-click the Windows Network option, double-click your workgroup (WORKGROUP by default), and double-click a nearby computer to view its shared files.
To connect directly to a computer, select the Connect to Server option in Nautilus instead and enter the path to the remote computer like so: smb://COMPUTERNAME
However you connect, you may need to authenticate with a user account name and password that has access to the files on the remote machine. This depends on whether you enabled guest access and how you set up your folder sharing permissions.
Image Credit: Yutaka Tsutano on Flickr