Skip to content

add_handler_remove_hashcode

Xueting Yang requested to merge xueting_add_handler_pattern_matching into master

Currently, there are hash codes at the end of some dictionary names, making it difficult for other handlers to get the correct path. This handler "HashRemoveHandler" recursively obtain all the directories, remove hash code and save a new file. Hash code is judged by un underline followed by 8 random characters at the end of the directory's name, e.g."_(\w{8})$", and for directories with same name but only different hash code, they are distinguished by adding _variantX where X ∈ 1, 2, 3 ... N.

Edited by Xueting Yang

Merge request reports