Return you the list of root folders and all the inside folders too: svn list $REPO_URL -R | egrep "/$" Return you the list of root folders only: svn list $REPO_URL | egrep "/$" Example: svn list https://subversion.assembla.com/svn/dipakmishra | egrep "/$"