Adding many lists via Shell

Have you considered using the teleporter function, which exports all your existing Pi-hole settings for later import into the new installation?

Yes.