Scripts to merge csv files into a single one
This commit is contained in:
7
big_merge.ps1
Normal file
7
big_merge.ps1
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user