Question

macOS - Use worklet to deploy file

  • 9 November 2023
  • 2 replies
  • 56 views

Badge

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

Userlevel 4
Badge

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.

Badge

ty that worked.

Reply