0.2.0 • Published 9 years ago

duplet v0.2.0

Weekly downloads
2
License
-
Repository
github
Last release
9 years ago

Duplet

Watch two folders and keep them synchronized.

This script merges the contents of two folders by comparing the modification times of their files. Newer files will completely overwrite older files in the same position. Deletions are also mirrored if Duplet is watching. Use with caution.

Installation

npm install duplet

Usage

var duplet = require('duplet')

duplet('folder-a', 'folder-b')

Ignoring Files

Ignore files matching regexp. In this case ignore files ending with .meta.

duplet('folder-a', 'folder-b', /\.meta$/)

Regexp is tested against the whole path, not just the file name.

0.2.0

9 years ago

0.1.3

9 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago