/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Copying files Mac

03/12/2019 468 views

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

Comments


All Answers

0

Launch a program

Directory: $(KACE_DEPENDENCY_DIR)

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.

Answered 03/13/2019 by: chucksteel
Red Belt

 
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