Mac os context menu service: Add new service to mac os context menu
Services receives selected: menu at the top of the ”Canvas” on the right, change to ”Files & Folders”.Get Selected Finder ItemsRun Shell ScriptRun Shell Script action to the ”canvas” on the right side.Run Shell Script action, change the Pass input from to stdin to as argumentsCat command in the text box:for f in "$@"
do
/usr/local/bin/code "$f"
done
Save the Service into /Users/yourusername/Library/Services. Test it by select a file(s) or folder(s) in the Finder and Right-Click
and go to end at the Context menu labeled ”Services” and look for the name you gave your Service. If everything works alright,
the selected file(s) or folder(s) should have updated modification dates. It doesn't alter
the file(s) or folder(s) except the modification date.