Mds scripts and file paths


I have created a script that needs to read data from a .plist outside of the Resources folder. The .plist file I need to read is in a folder at the root of the same USB Stick where the run and deploy folder reside.

My question is how can my script access files outside of the mds resources folder. I can’t seem to get the file path correct within my script.



If you installing the OS, the scripts are put in a package then restored on /tmp, and the scripts are run from there. If you want to have a path for files on the external drive, you’ll need to reference them with an absolute path (like /Volumes/mds/scripts/