From 965e55ab57dab08202806a0889715848b33906ea Mon Sep 17 00:00:00 2001 From: Erik Date: Thu, 9 Jan 2025 08:09:17 -0700 Subject: [PATCH] added ignore me --- Copy-Revit2Egnyte.ps1 | 4 ++++ 1 file changed, 4 insertions(+) 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 }