def run(): getUserInput() p = Path(baseDir) dirs = [x for x in p.iterdir() if x.is_dir()] print('Directories found: ') print(dirs) getfiles(dirs, move)
def run_rename_mulitiple(): getUserInput() p = Path(baseDir) dirs = [x for x in p.iterdir() if x.is_dir()] print('Directories found: ') print(dirs) getfiles(dirs, rename_multiple)