How to import say 1million bitcoin privkeys in bitcoind / bitcoin-qt? I was wondering if there are ways to automate / mass private key import into the bitcoin client. Anyone knows of a command or has a script or an idea to share?

thanks.
Well...
You could automate it using the JSON RPC and slowly work through the keys, however this will be kinda slow. If you actually need to work with 1 million keys, you may need to consider an alternative option.

What is it you need to do with the keys?