copy-trees-into ( files to -- )
Factor documentation > Factor handbook > Input and output > Directory manipulation > Directory hierarchy manipulation
Prev:copy-tree-into ( from to -- )


Vocabulary
io.directories.hierarchy

Inputs and outputs
filesa sequence of pathname strings
toa directory pathname string


Word description
Copies a set of directory trees to another directory, recursively.

Errors
Throws an error if the copy operation fails.

Definition
USING: kernel sequences ;

IN: io.directories.hierarchy

: copy-trees-into ( files to -- )
[ copy-tree-into ] curry each ;