Not an expert, but a little googling found this: http://www.ofzenandcomputing.com/zanswers/3422
and this: http://hintsforums.macworld.com/archive/index.php/t-28703.html
The second command looks like it could be incorporated into a script... you may not be able to prevent the creation of resource fork files but you can automatically delete them afterwards.
edit: I should have mentioned this may have bad results, use at your own risk.