Archive - January, 2011

Mac OSX Tip: Mirror menubar to Dual Display / 2nd Monitor

25 January 2011 by , 1 Comment

Found this nifty program today ‘SecondBar‘ it creates an extra menubar on your 2nd monitor which means you don’t have to move your mouse across both screens to access a menu item. http://blog.boastr.net/?cat=1 NB: Currently your usual menubar icons aren’t copied across, however there are some nifty extras like enabling you to right-click the maximise […]

Linux Tip: Truncate multiple files using find

6 January 2011 by , 6 Comments

Assuming you have a find command of find . -type f -name ‘*.log’ Then it’s as simple as: for item in $(find . -type f -name ‘*.log’ ) ;do cat /dev/null > $item ;done Handy for truncating log files…