diff --git a/Rename-Files.ps1 b/Rename-Files.ps1 deleted file mode 100644 index 5b71659f..00000000 --- a/Rename-Files.ps1 +++ /dev/null @@ -1,23 +0,0 @@ -function Rename-Files { - param ( - [string]$Path - ) - - # Get all files and directories in the specified path - $items = Get-ChildItem -Path $Path -Recurse - - foreach ($item in $items) { - if ($item -is [System.IO.FileInfo]) { - # Check if the file name starts with "DiffSharp." - if ($item.Name -like "DiffSharp-*") { - # Construct the new file name - $newName = $item.Name -replace "^DiffSharp\-", "Furnace-" - # Rename the file - Rename-Item -Path $item.FullName -NewName $newName - } - } - } -} - -# Call the function with the current directory -Rename-Files -Path (Get-Location) \ No newline at end of file