Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 2.26 KB

File metadata and controls

63 lines (51 loc) · 2.26 KB

Function: DirectoryCopy

Copies a directory from one location to another

Method Signature

DirectoryCopy(source=[string], destination=[string], recurse=[boolean], filter=[string], createPath=[boolean])

Arguments

Argument Type Required Description Default
source string true The source directory
destination string true The destination directory
recurse boolean false [ false ] whether to recurse in to sub-directories and create paths false
filter string false [ "*" ] a file or directory filter to pass *
createPath boolean false [ true ] whether to create any nested paths required to the new directory true

Examples

Related