Saturday, 8 June 2013

Open multiple tabs on iterm with a specific directories

Open multiple tabs on iterm with a specific directories

I would like to know if this is possible.
I want to set up some script or command that will open 5 tabs and each tab that will open will have their own directory specified
All in the same window
tab 1: open ~/folderA1
tab 2: open ~/folderA2
tab 3: open ~/folderA3
tab 4: open ~/folderA4
tab 5: open ~/folderA5
This is on iterm2 in Mac OS X
I know I can do something like CMD+T and then open each of them using cd ~/folderA1 and so on, but if there is a command that I can set up or a script that after execute they will do that all at once I would love to know if there is a way to do so.

No comments:

Post a Comment