chmod +x <path/to/movie2mp4.sh>
ln -s <path/to/movie2mp4.sh> /usr/local/bin/movie2mp4
movie2mp4 /path_to_movie_file
- Open Automator
- Choose Quick Action
- Actions -> Library -> Run Shell Script
- Workflow receives current -> movie files -> in Finder
- Pass input -> as arguments
- Paste code to Shell section
- Save Quick Action by press Cmd+S then enter your context menu title (i.e: Movie2MP4)
Enjoy 😄