Skip to main content
Question

macOS - Use worklet to deploy file


Forum|alt.badge.img

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

2 replies

Forum|alt.badge.img
  • Automox Employee
  • 130 replies
  • November 9, 2023

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.


Forum|alt.badge.img
  • Author
  • Rookie
  • 4 replies
  • November 16, 2023

ty that worked.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings