views:

389

answers:

1

I am not new to Subversion, but I have up till now used Tortoise and never the commadn line. My question is, how do I ignore all files like *.o from the ENTIRE source not just the root.

For example, if I have the following files: /myfile.o /folder1/myfile2.o /folder1/folder1.1/myfile3.o /folder2/myfile4.o

If svn propedit svn:ignore "." in the root directory, and add *.o, it will ignore the myfile.o, but does not ignore /folder1/myfile2.o, /folder1/folder1.1/myfile3.o, /folder2/myfile4.o. Is there a way to add *.o in for an entire project (I cannot do it for the entire repository, which I know can be done, because this project is in a repository with many other projects)?

Please let me know if I need to clarify. Thanks!

+6  A: 

You can use the "-R" or "--recursive" option with "svn propset" as in the following command:

svn propset svn:ignore '*.o' . --recursive

You can use the following command for all the options associated with svn propset:

svn help propset
Michael Aaron Safyan
Thanks, that worked great! I am still getting the hang of their documentation. As I stated, I have, up til now, solely used tortoise and that gives you nice dialog boxes and explanations :).
aquillin