I've got a load of csv files in a folder and want to see how many rows each is. I'm sure I previously knew how to do this but my mind is now a blank
I tried used awk
awk "END {print NR}" *.csv
but that gives me the aggregate number of rows, rather than the number for each file. Any suggestions on how I should be doing this, cheers?
@aggi started
London Fixed Gear and Single-Speed is a community of predominantly fixed gear and single-speed cyclists in and around London, UK.
This site is supported almost exclusively by donations. Please consider donating a small amount regularly.
I've got a load of csv files in a folder and want to see how many rows each is. I'm sure I previously knew how to do this but my mind is now a blank
I tried used awk
but that gives me the aggregate number of rows, rather than the number for each file. Any suggestions on how I should be doing this, cheers?