SVN Ignore all files inside a folder

If you want to ignore certain file types inside a folder on SVN it’s pretty easy:

svn propset svn:ignore "*.tgz" backup

It’s a bit more complicated if you want to ignore everything inside a folder (be it files or folders). If you have a structure as the following:

/public/media
/public/media/member
/public/media/member/artist
/public/media/member/fan
/public/media/member/label

and you want to ignore everything inside public/media, just do:

svn propset svn:ignore "*" public/media/