Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ ezync Public

A script to easily sync directories between your local machine and a remote server

License

Notifications You must be signed in to change notification settings

GAumala/ezync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ezync

A script to easily sync directories between your local computer and remote server.

Installation

This script is just a frontend for rsync, so install that if you haven't already.

Then you can clone the repository and run:

npm install -g

Make sure npm bins are in your $PATH

Configuration

Create a config file in ./ezync.toml or ./config/ezync.toml

[profiles.work]
local = "/home/user/my_work_dir/"
remote = "[email protected]:/path/to/work_dir/"

[profiles.photos]
local = "/home/user/Pictures/my_photos"
remote = "[email protected]:/path/to/photos_dir/"

You must have SSH keys already setup in your local machine and remote server. You should already be able to SSH into remote servers from local machine, or the script may fail.

Usage

Usage: ezync [command] <profile>
Commands:
  ezync push <profile>  upload your local dir to remote
  ezync pull <profile>  download your remote dir to local

Options:
      --version  Show version number                                  [boolean]
  -f, --force    Don't skip files that are newer at destination       [boolean]
  -d, --delete   Delete files at destination that are not in source   [boolean]
      --help     Show help                                            [boolean]

About

A script to easily sync directories between your local machine and a remote server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published