Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Jessica Lares

macrumors G3
Original poster
Oct 31, 2009
9,612
1,056
Near Dallas, Texas, USA
So basically, I want to have a little button/have it in the menu in Finder, that when I press it, takes whatever folder I'm in, grabs the path of all the files in said folder, and adds a command with options before it, and runs it in Terminal.

So its end output is basically:

Code:
blahblah -t -6 /Users/jessicalares/Desktop/textexample1.md
blahblah -t -6 /Users/jessicalares/Desktop/textexample2.md
blahblah -t -6 /Users/jessicalares/Desktop/textexample3.md

And so on.

I know how to pull the paths from Finder, and I know how to run a script, but I don't know how to combine the two together to get what I want.
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.