ဤထိန်းချုပ်မှုကို ပြင်ဆင်ခြင်းဖြင့် ဤစာမျက်နှာကို အလိုအလျောက် အပ်ဒိတ်လုပ်ပေးပါမည်
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.
Test your workflow before saving it.