This post is also available in: Polish
On Microsoft websites, you can find scripts to migrate public folders from Exchange 2007 or 2010 to Exchange 2013 CU1.
Scripts can be downloaded here:
Microsoft Exchange 2013 Public Folders Migration Scripts
You can also find information how to migrate public folders, using those scripts.
Also on TechNet website, in Exchange 2013 documentation you can find informations about steps to migrate Public Folders to Exchange 2013 CU1:
Migrate Public Folders to Exchange 2013 From Previous Versions