Exclude multiple folders filemask in PowerShell
I want to exclude multiple folders during a synchronization. I use:
Can you help me please?
#TransferOptions $transferoptions = New-Object WinSCP.TransferOptions $transferOptions.TransferMode = [WinSCP.TransferMode]::Binary $transferOptions.AddRawSettings("ExcludeEmptyDirectories", "1") $transferoptions.FileMask = "|*/Archive/*"