Skip to content

how to skip the headers of csv file when run indexer #1298

Answered by barryhunter
l1t1 asked this question in Q&A
Discussion options

You must be logged in to vote
 csvpipe_command = tail -n +2 movies.csv

The tail command can skip a given number of lines, by specifying what line to start on

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by l1t1
Comment options

You must be logged in to vote
1 reply
@tomatolog
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants