22 Apr 2018 10:02:46 UTC
- Development release
- Distribution: Test-Smoke
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (24)
- Testers (458 / 51 / 2)
- KwaliteeBus factor: 2
- License: perl_5
- Activity24 month
- Download (352.6KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:2 non-PAUSE usersABELTJE Abe Timmerman
This handles syncing with the rsync program. It should only be visible from the "parent-package" so no direct user-calls on this.
This crates the new object. Keys for
* ddir: destination directory ( ./perl-current ) * source: the rsync source ( ftp.linux.activestate.com::perl-current ) * opts: the options for rsync ( -az --delete ) * rsync: the full path to the rsync program ( rsync ) * v: verbose
Create the destination directory is it doesn't exist.
Do the actual sync using a call to the rsync program.
rsync can also be used as a smart version of copy. If you use a local directory to rsync from, make sure the destination path ends with a path separator! (This does not seem to work for source paths mounted via NFS.)
(c) 2002-2013, All rights reserved.
* Abe Timmerman <firstname.lastname@example.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
* <http://www.perl.com/perl/misc/Artistic.html>, * <http://www.gnu.org/copyleft/gpl.html>
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.