File Sync to MAC User Preferences folder
07/25/2018 646 views
I'm currently having trouble performing a file sync to the user preferences folder on a MAC. If I use the full path (/Users/USERNAME/Library/Preferences), it syncs fine. However, I'm looking to use a variable for the Username so it deploys to the current logged on user. After research, I tried the following to no avail:
~/Library/Preferences works on the MAC through Goto>Folder with successfully going to the current users preferences folder, it just doesn't work in KACE's file sync. Any input on what can be used in the File Sync path field would be greatly appreciate. Thanks in advance for the help.
Answer Chosen by the Author
Please log in to answer
This might not be an exact answer, because I only have experience on Windows, but File Synchronizations can't be run as the logged in user, therefore, variables on Windows like %USERNAME% or %USERPROFILE%, or (I believe) $USER on Mac would go to the System folder, C:\WINDOWS\system32\config\systemprofile, or equivalent.
I have one thing file I wanted to have synced to user profiles, so I made a script to copy it there, and had it run as the logged in user.
Answered 07/26/2018 by: ondrar