Improved Filename and External Drive Support for OneDrive Mac



 Microsoft OneDrive Blog:

In early 2022, we launched a new Files- On-Demand experience for macOS, enhancing OS integration and support for new features like Known-Folder-Move (KFM). Since then, we’ve continued to refine this experience further, and today we’re excited to share two new features just for our Mac users!

Syncing Special Characters

OneDrive for Mac users can now create files that contain any of these special characters:

"*:<>?/\|

We know that this has been a pain point for our Mac user community, and we’re pleased to share that the latest version of OneDrive for Mac now supports them! Such files will sync to the cloud automatically, with no renames required by you. New or existing files with these characters in the filename will automatically sync to the cloud after you receive the Sync App update of 24.206 or later.

bS00MzcyMDI2LVBZSGtCWg


On a Mac, these characters will appear as you entered them in Finder as well as in other applications. Windows, iOS, Android, and web endpoints will show them in their HTML-encoded form (e.g. &#x3a; for “:”), so a file named “Hello : World.txt” on your Mac will show up as “Hello &#x3a; World.txt” on your PC. You can rename these files on another device too, and the special characters will be preserved on your Mac.

Syncing to an External (Non-Home) Drive

Previously, if you chose a path outside your home volume for OneDrive, your files would reside on your home volume, with the external drive serving as a cache.

bS00MzcyMDI2LUlQWUFndA


Now, when setting up OneDrive Sync in the first run experience, you can click ‘Change Location’ and select a non-home volume path, and it will place all your OneDrive content on that drive. Only a small amount of state is kept on your home volume, and this does not include your file data. With this experience, you can finally take full advantage of syncing to any drive you choose without using up space on your home volume!

To take advantage of this new experience, there are a few requirements your Mac and external volume must meet:
  • You must be running macOS 15.0 or later.
  • You must be running OneDrive 25.004 or later.
  • You must be in the Insiders ring.
  • Your external volume must meet the following requirements:
    • Non-removable/non-ejectable, as understood by macOS
    • Formatted for APFS
    • Protected by FileVault
    • Not read-only, a network drive, or marked as quarantined by macOS
Important: If you are already syncing OneDrive, you must first unlink and relink on the external drive to take advantage of this new experience.

Filename FAQ
  • Will any special character sync this way?
    • No. Only the characters identified above will sync as-is. If you have other disallowed characters in filenames, you’ll need to rename them. Note that on a Mac, the “/” character shown in Finder is represented in the file system as “:”, so depending on where you view your file names you may see something different.
  • What happens to filenames that already have an HTML-encoded character of this type in them?
    • We’ll sync them to your Mac in their familiar name. That is, if you have a file named “Hello &#x3a; World.txt” already syncing, it will sync to your Mac as “Hello : World.txt”. Note that we will only apply a familiar name for the characters listed above. Arbitrary HTML-encoded characters will not be renamed. Decimal-encoded characters will not be renamed.
  • What happens when I search for files containing one of these characters?
    • Since the files on your Mac have these characters in them, you can search for them in Spotlight or similar as you would any other character. On the web, you can also search for these files as they appear on your Mac; the web will discard these characters but should return the correct result. On other endpoints, search behavior may vary.
  • Why Mac only?
    • We are exploring options on other platforms but wanted to prioritize our Mac customers first because these characters are allowed into the native filesystem, whereas on other platforms these characters are not allowed.
  • Will this ever come to Windows?
    • These special characters are illegal in filenames on Windows, so we don’t have plans to bring this to Windows at this time. On Windows, you’ll see them in their HTML-encoded forms in both the file system and in OneDrive’s activity center and other UI.
  • Can an admin opt out of this experience for their users?
    • Admins can opt-out of this feature by setting the “DisableNameMangling” default to YES. Remove this value to opt back in.
External Drive FAQ
  • What will the experience be on macOS versions older than 15.0?
    • Users on these versions of macOS will get the previous experience, where the external drive is used as a cache and your files reside on the home volume.
  • How can I know if I’m using the new experience?
    • Your sync root will be on your external drive, not in ~/Library/CloudStorage.
  • Are there behavior differences between the new and old experience?
    • The new external drive sync experience works just like it does if you select your home drive.
  • Why is FileVault a requirement?
    • This is a system requirement of macOS.
  • Are removable drives supported?
    • OneDrive doesn’t support syncing to any drive that macOS thinks can be ejected.


 Source:

 

Latest Support Threads

Back
Top Bottom