

I found the aptly named ‘mysides’ which is a small CLI tool to modify Finder sidebar entries. After the ‘Desktop’ and ‘Documents’ folders were moved and linked, the Finder sidebar shortcuts stop working. YMMV though, so don’t blame me if it sets fire to your cat. This is great, and works amazingly well. I found no scenarios where any data loss was encountered.

Check if the ‘Desktop’ and/or ‘Documents’ folders in user home are a symlink, and if so, end the script.

Check if OneDrive is running, and the OneDrive folder exists (user is signed into OneDrive).The KFM script is triggered on user logon to perform the following: These can be deployed manually, or with an MDM such as Jamf Pro. mobileconfig profile for the KFM script, and one to set Privacy Policy Preferences for python. The package depends on ‘Outset’, which is a script that “automatically processes packages, profiles, and scripts during the boot sequence, user logins, or on demand."Ĭonfiguration is simple, with a sample. The generous Brian McFarlane has graciously provided the community with a package which configures KFM for macOS workstations. This redirects the Desktop, Documents, and Pictures folders to your OneDrive folder. Microsoft OneDrive has a super great feature (for Windows) called Known Folder Move. You also want to make it super easy for staff to adopt. You want to decrease risk of data loss, manage the security of corporate data, and provide staff the ability to share files in a controlled manner. So you’re running a macOS shop, and using Office 365 for identity, email, and data storage.
