https://gist.github.com/zhacker98/9643809


I would suggest running under 'screen' as the process takes a moment