Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Cut out the _version_ column in solr dumps
for f in `ls *csv`
do
mv $f "$f.bak"
csvcut -C _version_ "$f.bak" > $f
rm "$f.bak"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.