Kace SMA Online Shell Script copy from ClientDrop to /Applications Folder

Hello, I have a Folder with contents that i want to copy from the ClientDrop folder on the sma to the Applications Folder as its to large to upload as a Dependency.
I know on windows you can use net use with robocopy to do this, so im looking to do the same for macOS.
Any ideas?


0 Comments   [ + ] Show comments

Answers (3)

Answer Summary:
Posted by: Nico_K 3 years ago
Red Belt
why don't you put the file into the \clientdrop folder and import it in the appliance from there so you don't need to have handle this.
Posted by: markc0 3 years ago
Blue Belt

Top Answer

I used in a script 

osascript -e  'mount volume  "smb://username:password@server/clientdrop"' 

then cp -R source destination.

Worked fine

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ