Add the directory, while ignoring all of the files it contains:
svn add -N [directory]
After adding the directory enter the directory and run the following command:
svn propset svn:ignore '*.*' .
Commit your changes:
svn commit -m "Added the directory and set the files within it to be ignored"
-
http://www.metaltoad.com/blog/adding-directory-subversion-and-ignoring-directory-contents