diff --git a/Copy-Revit2Egnyte.ps1 b/Copy-Revit2Egnyte.ps1 index b8a7aef..531e927 100644 --- a/Copy-Revit2Egnyte.ps1 +++ b/Copy-Revit2Egnyte.ps1 @@ -100,6 +100,10 @@ foreach ($folder in $Local_Folder_List) { $ErrorMessage += '`"' + $FolderName + "`": Path.txt must specify only one path.
" } + if ($Egnyte_Path -eq "IgnoreMe") { + # allows us to set folders to ignored by changing Path.txt to contain IgnoreMe + $Egnyte_Path_Valid = $false + } else { $Egnyte_Path_Valid = $true }