link_folder_tree#
- mhm_tools.pre.link_folder_tree(input_dir: Path, output_dir: Path, overwrite: bool = False, file_name: str = '*.*')[source]#
Link all files in a folder tree to another folder tree creating symlinks for each file.
- Parameters:
input_dir (Path) – The path to input directory.
output_dir (Path) – The name of the output directory.
overwrite (bool, optional) – Overwrite existing symlinks, by default False