Skip to content

Instantly share code, notes, and snippets.

View Silloky's full-sized avatar

Silloky

View GitHub Profile
@lafleurh
lafleurh / SyncFolders.ps1
Last active April 6, 2024 02:45
PowerShell script to do a two-way sync of Windows folders
Param (
[string]$LeftFolder,
[string]$RightFolder
)
function CreateFolderStructure([string]$Path)
{
if (-not [string]::IsNullOrWhiteSpace($Path))
{
if (-not (Test-Path $Path))