1. Home
  2. Knowledge Base
  3. SureMDM
  4. macOS Management
  5. How to create directories on a macOS device using SureMDM

How to create directories on a macOS device using SureMDM

Admins can remotely create directories on the macOS device using a Run Script job.


The purpose of the article is to provide a guide on how to create directories on macOS devices using SureMDM.


  • This feature works on the MacOS Agent version 4.4.1 and above.


  1. Login to the SureMDM console using credentials.
  2. Navigate to Jobs and create a New Job.
  3. Select macOS as the operating system and create a Run Script job.
  4. While creating directories, we need to specify the absolute path where the directory has to be created.

For example: mkdir /Users/Username/Test

We have specified the username and the directory name and run the script on a macOS device as seen in the image.

  1. Enter the job name and save the job.
  2. Deploy the job on the device, and a 42Gears directory will be created in the respected path specified.
  3. To create directories in specific folders, we need to specify the path and then run the command using the Run Script job.

Need help? CONTACT US 

Was this helpful?
Updated on March 2024