From 1c50fb7e51f575c882acc0881f2f33f5383b6cb6 Mon Sep 17 00:00:00 2001 From: Erik Date: Tue, 30 Jul 2024 08:48:35 -0600 Subject: [PATCH] ignore LNK files too.. --- Copy-Revit2Egnyte.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Copy-Revit2Egnyte.ps1 b/Copy-Revit2Egnyte.ps1 index f8f2415..b8a7aef 100644 --- a/Copy-Revit2Egnyte.ps1 +++ b/Copy-Revit2Egnyte.ps1 @@ -71,6 +71,8 @@ $Local_Folder_List = get-childitem -path $Local_Revit_Root -Depth 0 foreach ($folder in $Local_Folder_List) { if ($folder.Name -eq "!TEMPLATE") { # Do nothing + } elseif ($folder.Name -like "*.lnk") { + # Do Nothing } else { $FolderName = $folder.Name