SetFile is part of the Developer Tools, but if you're lucky you already have it without knowing it:
http://www.macosxhints.com/article.php?story=20060731083729533