copySessionFolder#
- pyCGM2.Utils.files.copySessionFolder(folderPath: str, folder2copy: str, newFolder: str, selectedFiles: List | None = None)#
Copy a session folder, optionally including only selected files.
- Parameters:
folderPath (str) – The path to the parent directory.
folder2copy (str) – The name of the session folder to copy.
newFolder (str) – The name of the new folder to create.
selectedFiles (List, optional) – A list of specific files to include. Defaults to None.