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:
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: