AutomoxAutomox

macOS - Use worklet to deploy file

lamador
November 9, 2023 at 10:39 pm UTC

Hi Team, i see a worklet to deploy file to certain directories for windows but not macOS. How would i be able to move a file into a certain directory in macOS? thanks

This discussion is archived and closed to replies. Continue it in the Automox Community Slack.

Discuss on Slack

Replies (2)

MarkH-AutomoxNovember 9, 2023
#1

Hi lamador,

You can use either the ‘cp’ or the ‘mv’ commands.
If you have an item as a payload in the Worklet you can directly reference it:
‘cp filename /Directory/In/Question/filename’

 

cp leaves the original file in place, mv will move it out of point A and put it in point B.

If you have a more specific use case I am more to happy to help you put a Worklet together.

lamadorNovember 16, 2023
#2

ty that worked.