How to set svn:keywords property recursively on a set of files?
It’s easy using a couple of GNU and OpenSource utilities. Following example presents how to set the Id keyword on all C/C++ header files in sample project.
$ cd myproject
Set svn:keywords to all .h and .hpp files
$ find . -regex '.*\.h' -o -regex '.*\.hpp' | xargs svn propset svn:keywords "Id"
Commit submit property changes back to the repository
$ cvs commit -m "Set svn:keywords property on all header files."
Here is a post explaining how to set the svn:keywords property automatically using private SVN configuration file: Subversion and keyword substitution (at fixlinux.com)