Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 771 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 771 Bytes

rsync-source

styled with prettier Dev Dependencies Donate

A library that helps you reuse files in multiples projects without using symlink.

Installation

npm install rsync-source

Usage

// import
import { copyFolderTo } from '../src/rsync-source'

// use
copyFolderTo("./some-folder", "./some-other-folder", false);

Attention

Files that don't exist in the source will be deleted from the destination directory.