Batch change max file units

Does anyone knows a script/plugin/programm to batch change the file units of max files?