Skip to content

copy

Source

Hook coying a file/files or directory/directories to a location.

Inputs

Name Type Default Required Description
src Union[List, str] True String or list of sources, either a directories or files
dst str True The destination to copy to.
create_path bool True True

Arguments

Position Argument Type
1 src Union[List, str]
2 dst str

Returns

NoneType

Examples

Basic

The most minimal implementation.

compact->: copy path/to/src output/path
expanded:
  ->: copy
  src: path/to/src
  dst: output/path