summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2008-08-30 22:24:32 -0700
committerAndrew <andrewarnott@gmail.com>2008-08-30 22:24:32 -0700
commite16e52112184386fa3990c613de7f2b082fc0185 (patch)
treebafffe29f8bc529738607b43db3ae0301526caf8
parent4a94bcfb7963abcbf602dfa1e1ea9b894985668f (diff)
downloadDotNetOpenAuth-e16e52112184386fa3990c613de7f2b082fc0185.zip
DotNetOpenAuth-e16e52112184386fa3990c613de7f2b082fc0185.tar.gz
DotNetOpenAuth-e16e52112184386fa3990c613de7f2b082fc0185.tar.bz2
Added Windows PowerShell script to quickly rename all the directories and files to the library's name.
-rw-r--r--Set-ProjectName.ps14
1 files changed, 4 insertions, 0 deletions
diff --git a/Set-ProjectName.ps1 b/Set-ProjectName.ps1
new file mode 100644
index 0000000..6a49d7f
--- /dev/null
+++ b/Set-ProjectName.ps1
@@ -0,0 +1,4 @@
+param ($libraryName = { throw "-libraryName required" } )
+
+dir -rec . *YOURLIBNAME* |% { ren $_.FullName $_.Name.Replace("YOURLIBNAME", $libraryName) -whatif }
+