Scripts to merge csv files into a single one

This commit is contained in:
Javier Quinones
2026-08-17 10:47:33 -05:00
parent 2e26cd688f
commit 7ae5096685
2 changed files with 38 additions and 0 deletions

7
big_merge.ps1 Normal file
View File

@@ -0,0 +1,7 @@
Write-Output "BIG MERGE!!"
Set-Content -Path "FTOptix_Combined.csv" "Location,Site,PLCName,SymbolName"
Get-ChildItem "FTOptix_Import*.csv" -Name | % {
Get-Content $_ |
Select -Skip 1 |
Add-Content -Path "FTOptix_Combined.csv"
}