Return to Snippet

Revision: 5078
at February 9, 2008 18:14 by micmath

Initial Code
# this affects already existing files
find app/lib/ -type f -name '*.js' -exec svn propset svn:keywords "Id" {}  \; -print

# OR, for files added later, you can edit ~/.subversion/config
enable-auto-props = yes
*.js = svn:keywords=Id

Initial URL

Initial Description
There may be an easier way to do this, but if there is I can't find it. This sets the svn property $Id$ of every javaScript file in the app/lib directory.

Initial Title
Use Unix 'find' to propset the svn Id on many files at once

Initial Tags

Initial Language