Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mrsync

Installation

npm install -g mrsync

Usage

Backup your current directory

mrsync /path/to/destination

Or specify a source directory

mrsync -s /path/to/source /path/to/destination

You can also specify exclusions

# Comma separated list of items to exclude (not full paths)
mrsync -s /path/to/source -e exclude_one,exclude_two /path/to/destination

Backing up to a remote machine

mrsync doesn't prompt for passwords, so if you want to backup to a remote machine, you'll need to have passwordless access to the machine using ssh keys.

# Create your ssh key pair
ssh-keygen

# Add your id to the server
ssh-copy-id -i /path/to/public_key user@server_address

Contribute

Feel free to submit PRs. I really want to expose as much rsync control as possible. I just started with the options I needed for work.

About

Creates an rsync process for every top level item in a directory

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.