Looking to create a service in Automator so when I select multiple files in the Finder, I can in one right-click create a new folder and move the selected files into that newly created folder. This action could include a step that will ask me to name this folder but it's not mandatory. Any idea?

  • 2
    You asked "Any idea?", well sure but what have you tried? – user3439894 Sep 12 at 1:02
  • Automator > New > Service | setting Service receives selected files or folders in Finder | add a Move Finder Items action, setting Options to: Show this action when the workflow runs – user3439894 Sep 12 at 1:10
  • Firstly, welcome to Ask Different! :) I hope you come to find this site has a lot to offer! In case you haven't already, it's worth taking the time to read the tour. You may also want to read how to ask a question to improve your chances of getting a good answer. – Monomeeth Sep 12 at 1:43

Here is an alternate solution.

Not sure if you're aware of this but there's already a keyboard shortcut in Finder, (control + command + N) which creates a new folder containing the selected finder items. This can also be accessed through the contextual menu when right clicking on selected Finder items.

This AppleScript code works for me using the latest version of macOS Mojave.

enter image description here

  • Thanks a lot. But for stability and compatibility reasons, I am still with High Sierra. – Marty Sep 13 at 13:24
  • This solution works like a charm: hbase.net/2011/08/17/… – Marty Sep 13 at 13:29

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .