Use my bash library instead of copypasta
Add obtain_two_parameters_as_inputdir_output_dir() which can be used in the main() of scripts which need two parameters as input/output directory