diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2008-08-30 22:24:32 -0700 |
---|---|---|
committer | Andrew <andrewarnott@gmail.com> | 2008-08-30 22:24:32 -0700 |
commit | e16e52112184386fa3990c613de7f2b082fc0185 (patch) | |
tree | bafffe29f8bc529738607b43db3ae0301526caf8 | |
parent | 4a94bcfb7963abcbf602dfa1e1ea9b894985668f (diff) | |
download | DotNetOpenAuth-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.ps1 | 4 |
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 }
+
|