Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Australia/ACT' for 'EST/10.0/no DST' instead in /store/1/www/frase.id.au/common/functions.php on line 76

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Australia/ACT' for 'EST/10.0/no DST' instead in /store/1/www/frase.id.au/common/functions.php on line 77

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Australia/ACT' for 'EST/10.0/no DST' instead in /store/1/www/frase.id.au/common/functions.php on line 78

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Australia/ACT' for 'EST/10.0/no DST' instead in /store/1/www/frase.id.au/common/functions.php on line 78

Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Australia/ACT' for 'EST/10.0/no DST' instead in /store/1/www/frase.id.au/common/functions.php on line 80

Friday 11-05-2007

removing unversioned files from svn

leave a comment »

Posted by frase @ 15:55 on 11-05-2007

hi guys, this is my first blog post in forever!

just thought I'd chuck a juicy little tidbit here: a simple script to remove unversioned files from an svn tree (just make sure you add the file before running it, otherwise you'll have to recreate it!).

#!/bin/sh

svn status | grep "^?" | awk '{print $2}' | xargs rm -rf


And that's it!

Until next time,

t

Leave a comment »









Enable .png support!