mighty-sync
v1.0.0
Published
Sync files between folders, with a watch and exclude option.
Downloads
19
Maintainers
Readme
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'