Originally Posted by JSWolf
Any chance this Perl script could maybe be rewritten in Python?
Well, I guess there is no point in such exercise per se - this script just does what it should, that is tries to maintain relation between disk directory structure and collection names. As Perl is (more or less) as cross-platform as Python there is no need for porting.
If you want such (or similar) functionality directly in libprs500 - I guess just open a ticket on the site.