I’d be totally remiss not to mention this, just go and read it:
Interesting approach to connecting the Finder more with the Terminal.
Personally I am satisfied with just using “
open .” from the Terminal and dragging a folder from the Finder to the Terminal icon to open a Terminal window and cd there right away.
I have used this setting for Mail in the past and am really glad that Mountain Lion makes it work again.
I knew I would have to do this often, so instead of running a shell script every time I wanted to strip the Where From, I wrote an AppleScript
This is why and how you write scripts. 🙂
If you have a
bash script with a
while loop that reads from
stdin and uses
ssh inside that loop, the
ssh command will drain all remaining data from
stdin1. This means that only the first line of data will be processed.
A flawed method to run commands on multiple systems entails a shell while loop over hostnames, and a Secure Shell SSH connection to each system. However, the default standard input handling of ssh drains the remaining hosts from the while loop
John C Welch has posted two scripts that convert Numbers files.