No, there is no way to do this.
But, you can use the Google Labs project Filter import/export under Settings > Labs in Gmail.
- Install Filter import/export in Labs
- Create your filter
- Go to Settings > Filters
- Check the checkbox next to your new filter
- Click "export" at the bottom, this will create an xml file called
mailFilters.xml
- You should have a file that looks like this:
<?xml version='1.0' encoding='UTF-8'?>`
<feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
<title>Mail Filters</title>
<id>tag:mail.google.com,2008:filters:11344473557977</id>
<updated>2010-07-14T20:24:10Z</updated>
<author>
<name>John Smith</name>
<email>test@gmail.com</email>
</author>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:1131773557977</id>
<updated>2010-07-14T20:24:10Z</updated>
<content></content>
<apps:property name='from' value='foo@example.com'/>
<apps:property name='label' value='the_label'/>
</entry>
</feed>
All you need to do is to carefully edit this XML file in an editor which can intelligently handle plaintext.
Copy the code from <entry> and paste it in immediately after the first one. I removed the <id> and <updated> sections and they still worked, so much of the stuff in there is optional. Copy and paste a few more times, and you've got the result you want.
This worked for me:
<?xml version='1.0' encoding='UTF-8'?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:apps='http://schemas.google.com/apps/2006'>
<title>Mail Filters</title>
<id>tag:mail.google.com,2008:filters:11344473557977</id>
<updated>2010-07-14T20:24:10Z</updated>
<author>
<name>John Smith</name>
<email>test@gmail.com</email>
</author>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<id>tag:mail.google.com,2008:filter:1131773557977</id>
<updated>2010-07-14T20:24:10Z</updated>
<content></content>
<apps:property name='from' value='foo@example.com'/>
<apps:property name='label' value='the_label'/>
</entry>
<entry>
<category term='filter'></category>
<title>Mail Filter</title>
<content></content>
<apps:property name='from' value='bar@example.com'/>
<apps:property name='label' value='another_label'/>
</entry>
</feed>
Save your file then use the Import tool on the same Settings > Filters page and you will have the option of which of the contained filters you want to add.