- Share Mac files with Windows users
- Set up file sharing on the Mac
- Provide the information Windows users need
- 2 Ways to Change the Default Application to Open Files With in Mac OS X
- 1: How to Set the Default Application for a Specific File in Mac OS
- 2: How to Set Default Applications to Open All Files of a Format Type in Mac OS X
- File system formats available in Disk Utility on Mac
- Apple File System (APFS)
- Mac OS Extended
- Windows-compatible formats
- Move and copy files in Terminal on Mac
- Move a file or folder locally
- Copy a file or folder locally
- Copy a file or folder remotely
- Set up file sharing on Mac
- Set up file sharing
- Set advanced file sharing options
Share Mac files with Windows users
To let users connect to your Mac from a Windows computer, turn on file sharing and enable SMB sharing.
Set up file sharing on the Mac
On your Mac, choose Apple menu
> System Preferences, then click Sharing.
Select the File Sharing tickbox, then click Options.
Select “Share files and folders using SMB”.
In the Windows File Sharing list, select the tickbox next to the user account that will be used to share files with Windows users, enter the password for that user, then click OK.
Choose View > Network, select your active connection, then click Advanced.
Click the WINS tab, then enter the workgroup name used by the Windows computer.
If you don’t know the workgroup name, on the Windows computer open Control Panel > System and Security > System. (Windows computers normally use either WORKGROUP or MSHOME.)
Click OK, then click Apply.
Provide the information Windows users need
To connect to your Mac, Windows users need the network address for your Mac, and a username and password to use to log in to your Mac.
To find your Mac computer’s network address, choose Apple menu
> System Preferences, click Sharing, then select File Sharing. The address appears below the “File Sharing: On” indicator, and looks similar to this example: smb://17.212.167.33/.
Create an account on your Mac for each Windows user. To create accounts, choose Apple menu > System Preferences, then click Users & Groups.
If you want to use an account that existed before you installed the latest version of macOS, you may need to reset the password for the account in Users & Groups preferences.
Because the passwords of user accounts used for Windows sharing may be stored in a less secure manner, turn off the account when it’s not being used. Before you turn off Windows sharing, turn off all the accounts you enabled. Otherwise, the passwords are still stored less securely.
Источник
2 Ways to Change the Default Application to Open Files With in Mac OS X
Each file type has a default application that is associated with it on the Mac. This means that when you double-click a file from the Finder it will open a specific application, for example on a fresh Mac OS installation, all image files (png, jpg, gif, pdf, etc) will default to opening in Preview, and all text documents (txt, rtf, etc) will open in TextEdit.
Over time, the default applications and file associations can change as you install more applications, which sometimes set themselves as the new default app to open a file format with.
If you want to change these default file format associations and have files open in other applications of your choosing, you’ll find there are two simple ways to do this: the first method defines the default application to launch for a specific single file, and the second method will change the application associated with all files of a given format type.
1: How to Set the Default Application for a Specific File in Mac OS
This provides file-specific control over default applications, meaning you can have a document or two that open in one app, while the overall general file type defaults to open in another application. For example, you could set one single PSD file to always open exclusively in Pixelmator, while all other PSD formatted documents continue to open in Adobe Photoshop.
- From the Mac Finder, right-click (or Control+Click) on the file to change the default app for and hold down the OPTION key so that the “Open With” menu becomes “Always Open With”
- Continue to hold OPTION and select the application you want to set as the default for this file
The file will open in the application you selected, and that file will now associate the chosen application as it’s new default to always open within.
By the way, if you’re setting a file type this way and notice duplicate entries in that Open With menu, you can remove those duplicate entries with this quick trick to clean up the Open With contextual menu.
Again, this is specific to the file you chose, and this method will not apply to all files sharing that same file format. If you want to set the default application universally for a file type, that’s what the next tip is for.
2: How to Set Default Applications to Open All Files of a Format Type in Mac OS X
This approach will change the default application universally for all files of a specific format. For example, you could use this to set all files of the type PNG to open within Skitch, all TXT files to open with TextWrangler, and all ZIP files to open with The Unarchiver.
- From the Mac file system, select a file of the general format type you wish to change the default application for
- Pull down the “File” menu and choose “Get Info” (or hit Command+i) to access the Get Info window
- Click the “Open with:” sub menu, then click on the contextual menu and select the new application to associate all files of this format type with
Click the “Change All” button and confirm the change when requested
(Note: if the Change All button is greyed out and unclickable it’s because you have not set an application that is different than the currently set default app. Use the pulldown menu to choose the new application for the Change All button to be usable and to apply the adjustment to all files of the file format type)
This change carries throughout all files of that format used within Mac OS for the active user account, and the filetype-to-application association will stay in place until it has been changed again through the same “Get Info” trick, or until a third party application claims the file format and associates with it directly.
You’ll find this one particularly useful if a newly installed application has assumed control over a file format, like what often happens with Adobe Reader claiming all PDF documents. This ‘Change All‘ trick will allow you to quickly reclaim PDF file types to reopen again in Preview (or your app of choice), which is typically much faster than launching such files in more resource heavy apps like Reader.
The video below demonstrates the latter trick, changing the default application for all files of a given type:
Note these tricks work to set the default application for files in all versions of macOS, Mac OS X, and OS X, including Big Sur, Catalina, Mojave, High Sierra, Sierra, Yosemite, El Capitan, Snow Leopard, Lion, Mountain lion, Tiger, and earlier releases too. Therefore it does not matter which version of Mac system software you are running, you can always changes the default application that opens with a file or file type.
Have any other tips or suggestions for changing application file associations on the Mac? Share in the comments!
Источник
File system formats available in Disk Utility on Mac
Disk Utility on Mac supports several file system formats:
Apple File System (APFS): The file system used by macOS 10.13 or later.
Mac OS Extended: The file system used by macOS 10.12 or earlier.
MS-DOS (FAT) and ExFAT: File systems that are compatible with Windows.
Apple File System (APFS)
Apple File System (APFS), the default file system for Mac computers using macOS 10.13 or later, features strong encryption, space sharing, snapshots, fast directory sizing and improved file system fundamentals. While APFS is optimised for the Flash/SSD storage used in recent Mac computers, it can also be used with older systems with traditional hard disk drives (HDD) and external, direct-attached storage. macOS 10.13 or later supports APFS for both bootable and data volumes.
APFS allocates disk space within a container (partition) on demand. When a single APFS container has multiple volumes, the container’s free space is shared and automatically allocated to any of the individual volumes as needed. If desired, you can specify reserve and quota sizes for each volume. Each volume uses only part of the overall container, so the available space is the total size of the container, minus the size of all the volumes in the container.
Choose one of the following APFS formats for Mac computers using macOS 10.13 or later.
APFS: Uses the APFS format. Choose this option if you don’t need an encrypted or case-sensitive format.
APFS (Encrypted): Uses the APFS format and encrypts the volume.
APFS (Case-sensitive): Uses the APFS format and is case-sensitive to file and folder names. For example, folders named “Homework” and “HOMEWORK” are two different folders.
APFS (Case-sensitive, Encrypted): Uses the APFS format, is case-sensitive to file and folder names and encrypts the volume. For example, folders named “Homework” and “HOMEWORK” are two different folders.
You can easily add or delete volumes in APFS containers. Each volume within an APFS container can have its own APFS format — APFS, APFS (Encrypted), APFS (Case-sensitive) or APFS (Case-sensitive, Encrypted).
Mac OS Extended
Choose one of the following Mac OS Extended file system formats for compatibility with Mac computers using macOS 10.12 or earlier.
Mac OS Extended (Journaled): Uses the Mac format (Journaled HFS Plus) to protect the integrity of the hierarchical file system. Choose this option if you don’t need an encrypted or case-sensitive format.
Mac OS Extended (Journaled, Encrypted): Uses the Mac format, requires a password, and encrypts the partition.
Mac OS Extended (Case-sensitive, Journaled): Uses the Mac format and is case-sensitive to folder names. For example, folders named “Homework” and “HOMEWORK” are two different folders.
Mac OS Extended (Case-sensitive, Journaled, Encrypted): Uses the Mac format, is case-sensitive to folder names, requires a password, and encrypts the partition.
Windows-compatible formats
Choose one of the following Windows-compatible file system formats if you are formatting a disk to use with Windows.
MS-DOS (FAT): Use for Windows volumes that are 32GB or less.
ExFAT: Use for Windows volumes that are over 32GB.
Источник
Move and copy files in Terminal on Mac
In Terminal, you can move and copy files locally or remotely using the mv , cp and scp command-line tools.
Tip: It’s easier to move and copy files using the Finder. See Organise files in folders.
Move a file or folder locally
In the Terminal app on your Mac, use the mv command to move files or folders from one location to another on the same computer. The mv command moves the file or folder from its old location and puts it in the new location.
For example, to move a file from your Downloads folder to a Work folder in your Documents folder:
You can also change the name of the file as it’s moved:
Copy a file or folder locally
In the Terminal app on your Mac, use the cp command to make a copy of a file.
For example, to copy a folder named Expenses in your Documents folder to another volume named Data:
The -R flag causes cp to copy the folder and its contents. Note that the folder name does not end with a slash, which would change how cp copies the folder.
Copy a file or folder remotely
In the Terminal app on your Mac, use the scp command to copy a file or folder to or from a remote computer.
scp uses the same underlying protocols as ssh .
For example, to copy a compressed file from your home folder to another user’s home folder on a remote server:
You’re prompted for the user’s password.
The -E flag preserves extended attributes, resource forks and ACL information.
The -r flag, which isn’t used in this example, causes scp to copy a folder and its contents.
Источник
Set up file sharing on Mac
You can share files and folders with others on your network. You can share your entire Mac with everyone or allow specific users access to only certain folders.
Set up file sharing
On your Mac, choose Apple menu
> System Preferences, then click Sharing.
Select the File Sharing tickbox.
To select a specific folder to share, click the Add button at the bottom of the Shared Folders list, locate the folder, select it, then click Add.
The Public folder of each user with an account on your Mac is shared automatically. To prevent a folder from being shared, select it in the Shared Folders list and click the Remove button .
Control-click the name of the folder, choose Advanced Options, select desired options, then click OK.
By default, any user set up on your Mac in Users & Groups preferences can connect to your Mac over the network. A user with an administrator account can access your entire Mac.
To give only specific users or groups access to a folder, select the folder in the Shared Folders list, click the Add button at the bottom of the Users list, then do one of the following:
Add users or groups from all users of your Mac: Select Users & Groups in the list on the left, select one or more names in the list on the right, then click Select.
Add users or groups from everyone on your network: Select Network Users or Network Groups in the list on the left, select one or more names in the list on the right, then click Select.
Add someone from your contacts and create a sharing-only account for them: Select Contacts in the list on the left, select a name in the list on the right, click Select, create a password, then click Create Account.
To specify the amount of access for a user, select the user in the Users list, click the pop-up menu next to the username, then choose one of the following:
Read & Write: The user can see and copy files to and from the folder.
Read Only: The user can view the contents of the folder but can’t copy files to it.
Write Only (Drop Box): The user can copy files to the folder but can’t view its contents.
No Access: The user can’t see or copy files from the folder.
Set advanced file sharing options
Use advanced file sharing options to set the protocol and other options for each shared file.
On your Mac, choose Apple menu
> System Preferences, click Sharing, then select File Sharing.
Control-click the name of the shared folder, then choose Advanced Options.
Select advanced options:
Allow guest users.
Only allow SMB encrypted connections.
Share as a Time Machine backup destination.
Guests can access shared folders on your Mac. To turn off guest access, deselect “Allow guest users to connect to shared folders” in the Guest Account pane of Users & Groups preferences. See Set up users, guests and groups.
Источник