Created
March 23, 2017 21:57
-
-
Save shorock/d93af704538157a5ee2b5112a747bd8e to your computer and use it in GitHub Desktop.
Cut out the _version_ column in solr dumps
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
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