Created
June 9, 2022 14:38
-
-
Save MarioBinder/ef922ab199442c73b3218a2e156875c7 to your computer and use it in GitHub Desktop.
compare to folders (with manipulatings foldernames)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$Folder1 = Get-ChildItem -Name "D:\Gitserver\Repositories" | foreach {$_.ToLower() + ".git"} | |
$Folder2 = Get-childitem -Name "D:\Gitea\Repositories\wdmm" | foreach {$_.ToLower() } | |
Compare-Object $Folder1 $Folder2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment