Skip to main content
Question

macOS - Use worklet to deploy file

  • November 9, 2023
  • 2 replies
  • 96 views

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
  • 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
  • November 16, 2023

ty that worked.