Create getlist.sh

Copied from BitBucket