Recursively get (or set) a property in svn

Edit: There’s an easier way to delete properties recursively:

svn propdel -R rlg:email robotlib-mydev 

Use find to traverse recursively through the directory structure:

find . -type d \! -path *.svn* -exec echo {} \; -exec svn propget rlg:email {}@ \;

To print out the current directory:

-exec echo {} \;

To find only directories:

-type d

To ignore svn folders:

\! -path *.svn*

To execute the propget command:

-exec svn propget rlg:email {}@ \;

The {} is the place find puts the path and the @ at the end causes SVN to parse correctly for paths that have “@” in them.

08/12/11