- INCLUDED MODULES
- SEE ALSO
- COPYRIGHT AND LICENSE
Acme::CPANModules::PERLANCAR::RsyncEnhancements - List of my enhancements for rsync
This document describes version 0.001 of Acme::CPANModules::PERLANCAR::RsyncEnhancements (from Perl distribution Acme-CPANModules-PERLANCAR-RsyncEnhancements), released on 2019-04-01.
List of my enhancements for rsync.
Rsync is one of my favorite tools in the whole wide world. There are a few things that I want rsync to do but doesn't so I made some enhancements for it. Currently all of the enhancements are in the form of wrapper, because it is the easiest and most straightforward, implementation-wise.
Rsync is a one-way syncing tool, as two-way syncing can be much slower (because it requires recording states in both sides) or requires more specific tools (like version control system). In simpler cases, when updates only happen in one side, you can perform two-way syncing by just checking that: the side that has the newest file "wins" (is sync-ed to the "losing" side). This script checks that condition.
Rsync can resume a partial sync, but does not automatically retries. An annoying thing is invoking an rsync command to sync a large tree, leaving the computer for the day, then returning the following day hoping the transfer would be completed, only to see that it failed early because of a network hiccup. This wrapper automatically retries rsync when there is a transfer error.
This wrapper adds some color to the rsync output, particularly giving a red to deletion, so you can spot deletion more easily. Particularly handy if you use it with the
Please visit the project's homepage at https://metacpan.org/release/Acme-CPANModules-PERLANCAR-RsyncEnhancements.
Source repository is at https://github.com/perlancar/perl-Acme-CPANModules-PERLANCAR-RsyncEnhancements.
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Acme-CPANModules-PERLANCAR-RsyncEnhancements
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Acme::CPANModules - about the Acme::CPANModules namespace
cpanmodules - CLI tool to let you browse/view the lists
This software is copyright (c) 2019 by email@example.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.