Copying files Mac

Is there a way to copy files from a Kscript dependency to a particular Mac directory?  I would prefer not to use file transfer and would within my script copy from kdependency to whatever Mac folder I would like.

0 Comments   [ + ] Show comments

Answers (1)

Posted by: chucksteel 2 years ago
Red Belt

Launch a program


File: cp

Parameters: sourcefile /path/to/destination

If that doesn't work, then you might need to use /bin for the directory and $(KACE_DEPENDENCY_DIR)/sourcefile in the parameters.

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