1.0.0 • Published 6 years ago

mighty-sync v1.0.0

Weekly downloads
-
License
MIT
Repository
gitlab
Last release
6 years ago

mighty-sync

CLI to sync files between folders, with a watch and exclude option. Originally based on sync-files.

Install

yarn global add mighty-sync

Usage

Command

mighty-sync [options] <source> <target>
        source is a file or folder which content will be mirrored to target

Options

--watch, -w
        Watch changes in source and keep target in sync

--exclude=<string>, -e=<string>
        Exclude certain files or folders from sync by using glob patterns

--depth=<number>, -d=<number>
        Maximum depth if you have performance issues

--nodelete
        Prevent deleting extraneous files from target

--verbose, -v
        More output

--version
        Show version

--help, -h
        Show help

Examples

mighty-sync --watch 'C:\Some folder\Source' 'C:\Some folder\Target'
mighty-sync --watch --exclude='somefile.png' --exclude='*.gif' --watch 'C:\Some folder\Source' 'C:\Some folder\Target'
1.0.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago