Mod-us šį vld., šis psl. bus įklt. iš n.
Use a shell script action in an Automator workflow on Mac
You can extend the power of Automator on Mac by using shell commands within a workflow. For example, you can string several bash shell commands together to perform complex tasks, and then pass the results to a window.
Choose File > New.
Select a document type, then click Choose.
Type Run Shell Script in the search field, then select Run Shell Script in the search results.
Drag the Run Shell Script action into your workflow.
Click the Shell pop-up menu, then choose the shell environment.
Enter your shell commands in the command field.
The example command is
cat
and should be removed.Test your workflow before saving it.