so i need to use chmod +x alot, and i thought it could be easier to make a service in Automator to add it to the right click menu, so it will run chmod +x on the selected file as choose it from the right click menu
ive no idea how to do that so any help would be appreciated
something similar to this:
Add a custom terminal command to context menu in mac
whats the command i need to right in order to tell it to run chmod +x on the file when i right click it?
Best Answer
It is essentially the same steps. I think you just need the right script and parameters.
chmod +x "$@"
You should now be able to select an individual file and use the Services menu to add the executable flag.