pyslk.construct_dst_from_src#
- pyslk.construct_dst_from_src(src: str | Path | list, dst_gns: str | Path, recursion_depth: int = 0) str | Path | list | None #
Construct destination paths for source resources when they were archived to given destination
- Parameters:
src (
str
orlist
) – Path, pattern or list of files that should be archived.dst_gns (
str
) – Destination directory for archiving.recursion_depth (
int
) – count on how often this function has called itself (stop after 50 recursive calls)
- Returns:
target resource paths if
src
resource(s) are archived todst_gns
- Return type:
str
orlist
orPath
See also