在很多情况下,您可能需要与其他用户共享Mac上的文件。(Mac)在计算机之间交换文件的(exchange files between computers)一种可靠方法是设置另一个Mac用户或Windows用户能够访问的共享文件夹。
除了能够与其他人共享文件和文件夹之外,您还可以编辑文件共享权限以仅授予某些用户读取权限,而授予其他用户读取和写入权限。了解如何在 macOS 上创建共享文件夹以轻松与他人共享文件。
如何在 macOS 上启用文件共享(How to Enable File Sharing on macOS)
在创建和使用共享文件夹之前,您需要在Mac上打开文件共享。为此,请按照以下步骤操作。
- 在 Mac 上打开Apple 菜单(Apple menu)。
- 从下拉菜单中,选择System Preferences。
- 选择共享(Sharing)。
- 在共享(Sharing)对话框中的服务(Service)下,选中文件共享(File Sharing)复选框。
您会在对话框中看到消息文件共享:打开,这意味着文件共享现已在您的(File Sharing: On)Mac上启用。在它旁边(Right),您会找到计算机的网络地址。这是您或其他用户在访问共享文件夹时需要的非常有用的信息。
在消息下方,您还会看到一个带有您的用户名的公用文件夹,该文件夹会自动在您的(Public Folder)Mac上共享。如果您不想与其他人共享,请在共享文件夹(Shared Folders)下选择它,然后选择–图标将其从列表中删除。然后,您可以关闭“共享(Sharing)”对话框以及“系统偏好设置”(System Preferences)窗口。
如何在 macOS 上创建共享文件夹(How to Create a Shared Folder on macOS)
在您的计算机上启用文件共享后,您可以创建一个共享文件夹供其他用户访问。为此,请(Make)确保您以管理员身份登录Mac 。要在 macOS 上创建共享文件夹,请按照以下步骤操作。
- 打开Finder,右键单击并选择New Folder以创建一个您想与其他用户共享的文件夹。建议在文件夹名称中避免使用空格和任何标点符号。
- 在Finder中,右键单击刚刚创建的文件夹并选择Get Info。
- 在General下,选中Shared folder复选框。
现在,如果您返回计算机系统偏好设置中的(System Preferences)共享( Sharing)对话框,您将在共享文件夹(Shared Folders)列表中找到您的文件夹。现在您和其他用户可以从 Windows PC和Mac访问您的共享文件夹(access your shared folder from both Windows PC)。您可以随时在共享文件夹中添加或删除文件。
如何设置文件权限(How to Set Up File Permissions)
您可以使用共享文件夹方法授予其他用户访问您的文件、与其他用户交换文件或接收其他用户的文件的权限。根据您的目标,您可能希望指定在与其他用户共享文件时要授予他们的访问量。要设置文件权限,请按照以下步骤操作。
- 按照路径Apple menu(Apple menu) > System Preferences > Sharing打开共享(Sharing)对话框。
- 在“用户(Users)”下,从列表中选择您要为其编辑文件权限的用户。
- 在用户名旁边,您可以选择以下选项之一:
- 读取和写入(Read & Write):选定的用户可以在共享文件夹中打开和复制文件。
- 只读(Read Only):用户只能查看和打开共享文件夹的内容,但不能从文件夹复制文件。
- 只写(投递箱)(Write Only (Drop Box)):用户只能将文件复制到文件夹中或从文件夹中复制,但不能打开它们。
- 无访问权限(No access):用户无法查看文件或将文件复制到共享文件夹或从共享文件夹复制文件。
您的选择将被自动保存。对设置的权限感到满意后,您可以关闭“共享(Sharing)”对话框。
您还可以在信息(Info)部分更改共享文件夹的文件权限。为此,请按照路径shared folder > Get Info > Sharing & Permissions。
使用共享文件夹与他人交换文件(Use a Shared Folder to Exchange Files with Others)
使用共享文件夹是一种将文件从一台计算机(或用户)交换或传输到另一台计算机的便捷方式。当您需要在 macOS 上创建并连接到共享文件夹时,此方法适用。如果您的共享文件夹位于 Windows 计算机(shared folder is located on a Windows computer)上,则也可以从 macOS 连接到它。
您之前尝试过创建共享文件夹吗?你用它做什么?在下面的评论部分分享(Share)您通过共享文件夹交换文件的经验。
How to Create a Shared Folder on macOS
There are many situations when yоu might neеd tо share fileѕ on your Mac with other usеrs. One sure way to exchange files between computers is to set up a shared folder that another Mac user or a Windows user will be able to access.
Aside from being able to share files and folders with others, you can edit file sharing permissions to only give read access to some users and read and write access to others. Learn how to create a share folder on macOS to easily share your files with others.
How to Enable File Sharing on macOS
Before you can create and use a shared folder, you need to turn on file sharing on your Mac. To do that, follow the steps below.
- Open the Apple menu on your Mac.
- From the drop-down menu, select System Preferences.
- Select Sharing.
- In the Sharing dialog box, under Service, select the File Sharing checkbox.
You’ll see a message File Sharing: On appear in the dialog box, meaning the file sharing is now enabled on your Mac. Right next to it you’ll find the network address of your computer. That’s very useful information which you or other users will need when accessing a shared folder.
Under the message, you’ll also see a Public Folder with your username that’s automatically shared on your Mac. If you don’t want to share it with others, select it under Shared Folders and select the – icon to remove it from the list. You can then close the Sharing dialog box, as well as the System Preferences window.
How to Create a Shared Folder on macOS
Once you enable file sharing on your computer, you can create a shared folder for other users to access. Make sure you’re logged in on your Mac as an administrator for this. To create a shared folder on macOS, follow the steps below.
- Open Finder, right-click and select New Folder to create a folder you’d like to share with other users. It’s recommended to avoid spaces and any punctuation symbols in the folder’s name.
- In Finder, right-click the folder you just created and select Get Info.
- Under General, select the Shared folder checkbox.
Now, if you go back to the Sharing dialog box in your computer’s System Preferences, you’ll find your folder in the Shared Folders list. Now you and other users can access your shared folder from both Windows PC and Mac. You can add or remove files from the shared folder at any time.
How to Set Up File Permissions
You can use the shared folder method to give another user access to your files, exchange files with other users, or to receive files from others. Depending on your goals, you might want to specify the amount of access that you want to give another user when sharing your files with them. To set up file permissions, follow the steps below.
- Open the Sharing dialog box by following the path Apple menu > System Preferences > Sharing.
- Under Users, select the user from the list that you want to edit file permissions for.
- Next to the username, you can select one of the following options:
- Read & Write: The selected user can both open and copy files to and from the shared folder.
- Read Only: The user can only view and open the contents of the shared folder but can’t copy files to and from the folder.
- Write Only (Drop Box): The user can only copy the files to and from the folder but can’t open them.
- No access: The user can’t view or copy files to or from the shared folder.
Your choice will be automatically saved. Once you’re happy with the set permissions, you can close the Sharing dialog box.
You can also change the file permissions of your shared folder in the Info section. To do that, follow the path shared folder > Get Info > Sharing & Permissions.
Use a Shared Folder to Exchange Files with Others
Using a shared folder is a convenient way to exchange or transfer files from one computer (or user) to another. This method works for when you need to create and connect to a shared folder on macOS. If your shared folder is located on a Windows computer instead, there’s a way to connect to it from macOS as well.
Have you tried creating a shared folder before? What did you use it for? Share your experience with exchanging files via shared folders in the comments section below.