Categories
Apple

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

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 button to give a full-screen maximise (rather than the usual resize of ‘as big as OSX thinks you need it’).

Categories
Linux

Linux Tip: Truncate multiple files using find

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…