How do I export sets from a Maya file?
 
 
 

You can use the following:

ls -typ objectSet;