I'm trying to invoke a terminal from the command line and cd into a particular directory on my MAC machine. I understand that this can be done using this command on Linux.
gnome-terminal --working-directory="/path/to/new/directory"
Is there an equivalent in Mac without actually writing an AppleScript? I know this command opens a new terminal though.
open -a Terminal.app
All I need to figure out is a way to add an argument to cd into another directory from the new terminal.
Any help is much appreciated. Thanks in advance, dkulkarni