Last active
February 23, 2023 23:09
-
-
Save epjuan21/76a58a4663e5bc562ebe0e95c860b066 to your computer and use it in GitHub Desktop.
Contar Líneas en Archivos de Texto con PowerShell,
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Contar Lineas en Archivos Individuales | |
(Get-Content -Path "D:\SSIS\ImportRIPS\Archive\AC.txt").Count | |
# Contar Lineas en Multiples Archivos | |
(Get-ChildItem -Path "D:\SSIS\ImportRIPS\AC\" -Filter *.txt -Recurse | Get-Content | Measure-Object -Line).Lines |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment