prsctrl.scripts.upgrade_data_version.convert_all_data_dirs#
- convert_all_data_dirs(base_dir, old_suffix='-original', new_suffix='-converted')[source]#
Convert all the data directories in base_dir to the latest prsctrl version format (multithreaded version).
The old data base_dir will be renamed to <base_dir><old_suffix>
- Parameters:
base_dir – path to the base directory containing data directories to convert
old_suffix – suffix for the old base_dir after conversion
new_suffix – suffix for the new base_dir with the converted files