Skip to main content

CopyOptionsBase

interface CopyOptionsBase

Properties Jump to heading

Dereference symlinks

When force is false, and the destination exists, throw an error.

optional
Jump to headingforce: boolean

Overwrite existing file or directory. _The copy operation will ignore errors if you set this to false and the destination exists. Use the errorOnExist option to change this behavior.

optional
Jump to headingmode: number

Modifiers for copy operation. See mode flag of copyFileSync()

When true timestamps from src will be preserved.

optional
Jump to headingrecursive: boolean

Copy directories recursively.

Back to top