Skip to content

Bidirectional rsync and pretty formatting for quick filesystem diffs

Notifications You must be signed in to change notification settings

njbotkin/rsyncdiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rsyncdiff

Use bidirectional rsync and pretty formatting for quick filesystem diffs.

$ rsyncdiff --help

  Usage: rsyncdiff [options] <local> <remote>


  Options:

    -V, --version                     output the version number
    --exclude <items>                 (comma-delimited list) directories or files (default: )
    --gitignore [path-to-git-ignore]  Excludes files from specified .gitignore file (defaults to working-directory .gitignore)
    --include <items>                 (comma-delimited list) remove items from exclude list (default: )
    -h, --help                        output usage information

  Example:

    $ rsyncdiff localpath user@host:~/remotepath

Install

Not on npm yet, sorry. Clone repo and run npm link inside of it.

How good is it?

It will only tell you

1) If there are new files on either side
2) If any files are different, and which files are newer

How does it do it?

Dry-run rsync both ways. (-n is dry run)

rsync [from] [to] -crlinz
rsync [to] [from] -curlinz

Pretty output:

I'll put in screenshots later.

About

Bidirectional rsync and pretty formatting for quick filesystem diffs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published