Skip to content

Instantly share code, notes, and snippets.

@MarioBinder
Created June 9, 2022 14:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MarioBinder/ef922ab199442c73b3218a2e156875c7 to your computer and use it in GitHub Desktop.
Save MarioBinder/ef922ab199442c73b3218a2e156875c7 to your computer and use it in GitHub Desktop.
compare to folders (with manipulatings foldernames)
$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