Recursively remove .svn files

December 16th, 2005

Here’s a quick shell script to recursively remove all the the .svn files starting in the current directory and working down.

find . -type f -name "*.svn" -exec rm '{}' \; -print

Change .svn to look for different types.

Shell to Clipboard

December 13th, 2005

I figured it’d be nice to be able to print output from the terminal/shell to OS X’s general clipboard. So after a little digging I found these two commands:

pbcopy – copy to the clipboard. pbpaste – paste from the clipboard.

Piping output should come in handy, ie:

pwd | pbcopy

will print the full path of the current directory directly to the cliboard. Or :

ls | pbcopy

for a list on the contents of the current directory.

Found over at Ted’s Ted’s Macintosh Tips and Tricks, which is well worth a butchers.

By eck.

December 13th, 2005

Suprise. Suprise. I completely forgot about setting this up… It’s bound to go in fits and starts. The plan is to start posting techy tips and tricks I come across in an effort to collect them in once place. They’ll be covering flash, os x, terminal etc. Ohh and to try and build a collection of inspiring sites I find. Let’s see if I mange that…

hell-o-blog

May 22nd, 2005

Things start somewhere. And here I am starting 10 minutes before I’m due at the cinema…

Fork me on GitHub