Source code for mhm_tools.pre.link_folder_tree

"""Create symlinked copies of folder trees.

The module recreates an input directory layout under a target directory and
creates symbolic links for files matching a configurable name pattern. Existing
links can be kept or overwritten.

Authors
-------
- Simon Lüdke
"""

import logging
from pathlib import Path

from mhm_tools.common.logger import ErrorLogger

logger = logging.getLogger(__name__)