copy_file_to_target

cosipy.utilities.setup_cosipy.setup_cosipy.copy_file_to_target(basename, source_dir, target_dir, silent_overwrite=False)[source]

Copy a file to a target directory.

Parameters:
  • basename (str) – Name of file.

  • source_dir (str) – Source directory of file.

  • target_dir (str) – Target directory of the copied file.

  • silent_overwrite (bool) – Silently overwrite existing files in target directory. Default False.