PDM version free variable update from list

We had a bug in our PDM and we need to overwrite a version free variable in   some thousands datacards.

As a proof of concept I was able to use a xml file and an import rule, but with the real application I would need to move every single file involved in a transition to trigget the xml.

This is quite difficult as there are too many files to just right click them or their top folder to change state as it will take a huge amount of time to display the state change dialog.

This problem aside xml import would be very useful to update periodically our files from the ERP and other external databases. 

Any advice about launching a mass update of datacard?