André Figueira

Systems engineer - I write apps, I make websites, opinions are my own...

Generate massive files with vim

So, you're going to need to start off with a small amount of content in your file to begin with, then using vim perform the following and it'll give you a huge amount of data pretty easily

vi your-file.csv

// moves cursor to the beginning of the file

// yanks until the end of the file

// paste the yanked text 500 times

// save the file and exit

One of my mates also has a Gist which does something similar and probably easier!