This was heavily inspired (and in fact uses) Remix Migration Scripts
This script calls the above mentioned script, but also allows you to pass in an argument for the specific directory you want to migrate
./migrate-to-v2-routing.bash ./docs
Note: This script by no means is "complete". I haven't tested it against every possible case. It is meant to be mostly demonstrative in how you can setup a simple script to help you with your v1 to v2 route migration journey.