Skip to content

move

Source

Hook for moving a directory or directories to a location.

Inputs

Name Type Default Required Description
src Union[List, str] True String or list of sources, either directories or files
dst str True String for path to copy to
create_path bool True True Boolean to create the directory path if it does not exist.

Arguments

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

Returns

NoneType

Examples

Basic

The most minimal implementation.

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