Hey @nancy !
Thank you for getting in touch!
Hexnode UEM facilitates remote access to Mac terminals through its live terminal
feature. With this feature, you can execute commands on your enrolled devices directly from the Hexnode portal. You can use the live terminal to download specific files onto your devices. Simply provide the file’s URL and specify the desired storage location on the device.
Please execute the command below in the live terminal to download the desired files onto your Mac:
sudo curl -o </path/to/save/the/file/filename>
For example:
If you wish to download a certificate to a specific location on the device, execute the following command.
sudo curl https://cacerts.digicert.com/DigiCertTLSRSA4096RootG5.crt.pem -o /Users/Peter/Desktop/Certificate.crt.pem
Additionally, for downloading files onto multiple Macs simultaneously, you can deploy a bash script using Hexnode’s Execute Custom Script remote action feature.
#!/bin/bash
#Switch to the /tmp directory
cd /tmp
#Download the file
curl -k [DOWNLOAD_URL] -o "[FILE_NAME]"
Replace [FILE_NAME] with the name of file and [DOWNLOAD_URL] with the server URL containing the file. After running the script, the file will be downloaded to the device’s /tmp directory.
To access the downloaded files, follow the below steps:
- Open Finder.
- Go to the Finder menu and select Go, then click on Go to Folder.
- Enter /tmp in the dialog box and press Enter.
- You’ll find your downloaded files there.
I hope this will assist in resolving the issue. Please don’t hesitate to reach out if you have any further queries or concerns.
Best regards,
Ben Clarke
Hexnode UEM