Tag-Archiv für » terminal «

Software Updates on a Mac

Wednesday, 1. July 2009 6:37

Well, SoftwareUpdates are that easy on a mac that I normally wouldn’t blog about it.
But today I used another nice feature around the Software Update.
As I have one of my Macs at home, connecting remote mostly with “Back to my Mac”
today I wanted to start the software update.
For whatever reasons Back to my Mac hang up and I could only connect via ssh.
But Terminal and this post from TUAW to the rescue:

sudo softwareupdate -i -a

will install all available updates from the Terminal! Great, works fine!
Softwareupdate via Terminal

Thema: diesunddas, mac | Kommentare (0) | Autor:

Using Commandline with your Clipboard

Thursday, 21. May 2009 20:01

Often I had to copy something from the terminal or shell to paste it into IM or mail something to send it someone.
So I was very happy that in OSX Terminal you can easily use CMD-C and CMD-V… but today I read about an even better way in Felix’ Blog:
In OS X just use the two commands pbcopy and pbpaste like here:

  ls | pbcopy                 # Will copy the output of ls to the clipboard
  pbpaste                     # Will paste the contents of the clipboard to Console

Felix has also the commands listed for Linux and Cygwin under Windows.

Thema: diesunddas | Kommentare (0) | Autor:

Some nice terminal tips…

Tuesday, 9. December 2008 7:38

… for Mac OS X Users I felt over in the last few weeks. Here are my favourite ones:

Show Path in Finder:

defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES

Restart Finder afterwards via killall Finder or the Force Quit Option.
(found via TUAW)

Change Backup Interval of TimeMachine

This is really nice, if you want other Backup Times for your TimeMachine permanently.

sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-autoStartInterval -int 7200

The time you pass to this command will be the backup interval in seconds, so this command will backup every 2 hours e.g.
(I think I got this also from TUAW, but haven’t found the URL yet…)

Software Update

I like this one, because I like to use cron for such tasks. So here it comes the software update command via your Terminal:

sudo softwareupdate -i -a

( and guess what? Also via TUAW)

Thema: diesunddas, mac | Kommentare (0) | Autor: