Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.65 KB

README.md

File metadata and controls

46 lines (30 loc) · 1.65 KB

Skivvy package: copy

npm version Stability Build Status

Copy files and folders

Installation

skivvy install copy

Overview

This package allows you to copy files and folders from within the Skivvy task runner.

Included tasks

copy

Copy files and folders

Usage:

skivvy run copy

Configuration settings:

Name Type Required Default Description
source string,Array Yes N/A Files/folders to copy
destination string Yes N/A Destination path
options object No {} Copy options
options.overwrite boolean No false Whether to overwrite destination files
options.dot boolean No false Whether to copy files beginning with a .
options.junk boolean No false Whether to copy OS junk files (e.g. .DS_Store, Thumbs.db)
options.filter function, RegExp, string, array No null Filter function / regular expression / glob that determines which files to copy
options.rename function No null Function that maps source paths to destination paths
options.transform function No null Function that returns a transform stream used to modify file contents