How to download Kaggle dataset from command line?

Problem Suppose you found your favorite data set on Kaggle, but it is multiple gigabytes and you need it on your deep learning machine, not your local laptop. You cannot simply use wget because you need to be logged in to Kaggle. Solution The solution is to export your cookies and tell wget to use your cookies when downloading the data. To export your cookies, install the chrome extension called cookietxt-export and do the following: