I accidentally deleted a bunch of directories using “svn delete” about a month ago, and now we realized that we needed them. So, question was – how to do undelete in Subversion since svn does not have a undelete-command. Then ‘svn copy -r REVISON’ to the rescue. First attempt solution found at jappler.com

svn copy -r NUMBER NAMEOFDIRECTORY NAMEOFDIRECTORY

The above command resulted in “NAMEOFDIRECTORY not a working copy”…damn!!! But then I found a slightly different way of doing it at www.canfield.com and I did

svn copy -r NUMBER https://{URL}/NAMEOFDIRECTORY NAMEOFDIRECTORY

Success…and if you are unsure of your svn url, just type ‘svn info’

Then to commit a list of folders in one operation I found the solution at Stackoverlow.com

cat mblade_list.txt | xargs svn commit -m “Restored”