Jump to content

Shortened path for new OneDrive synched locations


xgo

Recommended Posts

Microsoft's OneDrive recently changed their sync location, now making this obligatory through a user's library vs. directly in a home directory:

Inside the new Files On-Demand Experience on macOS 

 

The new path to "get started" in OneDrive's personal directory is:

~/Library/CloudStorage/OneDrive-Personal

 

Even worse, for corporate synched shared libraries, 

~/CloudStorage/OneDrive-SharedLibraries-<CompanyName>

 

These paths are super long and prevent to see the "meat" of paths when searching for files in Alfred:

1537409327_Xnip2022-01-27_10-47-26.jpg2022-01-2710-51-52.png.c6fb310981e02344843ed283ead2bf89.png

 

It would be great to be able to set an alias or shortcut in the returned path to abstract that absolute "start point" of ~/Library/CloudStorage to allow for more visibility into the relevant path information for the search results.

 

For example, an Alfred setting that replaces a user-configurable path (e.g."~/CloudStorage/OneDrive-SharedLibraries-<CompanyName>") with a user configurable text (e.g. "Sharepoint Shared"). This would not modify actions like 'copy path' but simply the navigation through files. 

 

Another potential solution to this problem would be to have a setting or a keyboard modifier to switch from showing "start of path" to "end of path" while displaying Alfred file search results ie. instead of 

~/Library/CloudStorage/OneDrive-SharedLibraries-<CompanyName>/Folder1/... (last part can't be seen)

show

(first part is hidden) .../Folder1/<Rest of path>

Link to comment
Share on other sites

I do see the value in shortening the prefix of certain paths, especially now that macOS 12 is pushing cloud drive solutions into the ~/Library/CloudDrive/... folder.

 

For now, I'm going to abbreviate this path to ☁️/... and I'll consider a more thorough solution in the future.

 

Cheers,

Andrew

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...