SPMetal: Exporting all Lists

Sep 29, 2009 at 4:42 PM

I would like to generate an entity class for each lists in my SharePoint site. The documentation is written as follows:

-list:<list>          Name of the list to export (* = all lists)

My understanding is that I would use the * to export all lists like the following:

spmetal -url:foo.com -list:*

Doing so, however, causes the following error: Failed to generate SPML. Cannot load the list definition for *

What am I doing wrong?