Mac folder action shell script

If it's possible to have the Folder Action retain the original file name ie.

Posted on Jun 14, PM. I don't understand.

How to set up a folder action to automate document processing

That's all you need to do any name manipulations you want. Page content loaded. Jun 14, PM. I see how to attach a folder action in general but I'm not seeing how to tie this in to your shell script example. Aug 7, PM. Aug 7, PM in response to commadelimited In response to commadelimited.

Posts By SpecterOps Team Members

XX : So sorry, email notifications weren't turned on for this thread :facepalm:. I don't know what I tried before asking for help here, but whatever it was, it didn't work. I've used your advice and screenshot however and managed to use the Shell Script function to do what I want, and now have a fully tested and functioning script to remove that annoying extra line. But I can't figure out how to load the two variables in Automator. Sign up to join this community.

The best answers are voted up and rise to the top. Home Questions Tags Users Unanswered.


  • All replies?
  • Automator for Mac OS X: Tutorial and Examples.
  • enfocus pitstop 12 mac crack.
  • Your Answer?
  • Run a Python script with filename arguments as a MacOS Folder action - Super User.
  • Launch Finder and Create a Contextual Workflow.

Asked 2 years, 7 months ago. Active 1 year, 7 months ago. Viewed times. Does anybody have any hints for how to do this?

Folder Actions for Persistence on macOS

In the Scale Images section, enter the final size for your images. For Rename Finder Items, configure how the files are renamed. The files will have added to the end of their name. For example, Photo.

Folder Action to run a shell script - Apple Community

Enter a name for your action. The name you provide here will appear in the Quick Actions menu. Select some files, activate your Quick Action, and the workflow you created will automatically take place.

Quick Actions are really just a new type of Finder workflow. Automator includes many other actions you could use. You could work with other types of files from here, too.

What is Automator?

You could use the Finder actions to copy files to a specific folder, use PDF actions to extract individual pages from a PDF document, or use Mail actions to mail selected files. Of course, you could use the Run a Shell Script action to do practically anything—you just have to write a shell script. If you want to do something with a Quick Action, just look up how to to it with Automator.