How to execute a shell script with selected files/folders in finder?
Fresh3 days ago
Mar 15, 202625383 viewsConfidence Score0%
0%
Problem
I'm coming from Linux where it's easy to run a script against a set of files in nautilus or dolphin, but I was kind of surprised to see that this isn't easy in OSX. Preferably, I would love to be able to ctrl-click on some selection in finder, choose my script, and have a terminal window pop up to …
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to execute a shell script with selected files/folders in finder?
Low Risk
The easiest, built-in way to do this is to just drag the items from Finder to a Terminal window. When you drop them, Terminal will “type” their (escaped) pathnames. You can then use your shell's command line editing to enter the rest of the command.…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix