bfuchs
asked on
Script to read all files of specific folder.
Hi Experts,
I am looking for a script that will read all files of a specific folder (.txt,.csv) and count how many records they're in total.
all files have fields header, however some files only contains the header and should not be count.
Thanks in advance.
I am looking for a script that will read all files of a specific folder (.txt,.csv) and count how many records they're in total.
all files have fields header, however some files only contains the header and should not be count.
Thanks in advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Subodh,
I'm out of the office today, will try to test on Sunday & keep you posted.
Have a nice weekend.
Thanks,
Ben
I'm out of the office today, will try to test on Sunday & keep you posted.
Have a nice weekend.
Thanks,
Ben
ASKER
Thanks Subdoh this worked.
ASKER
Hi,
Here is my next related question.
https://www.experts-exchange.com/questions/29109077/How-to-concatenate-all-files-from-one-folder-into-one-ignoring-headers.html
Thanks,
Ben
Here is my next related question.
https://www.experts-exchange.com/questions/29109077/How-to-concatenate-all-files-from-one-folder-into-one-ignoring-headers.html
Thanks,
Ben
You're welcome Ben!
Open in new window