1Test::Smoke::Syncer::RsUysnecr(3C)ontributed Perl DocumeTnetsatt:i:oSnmoke::Syncer::Rsync(3)
2
3
4

Test::Smoke::Syncer::Rsync

6       This handles syncing with the rsync program.  It should only be visible
7       from the "parent-package" so no direct user-calls on this.
8
9   Test::Smoke::Syncer::Rsync->new( %args )
10       This crates the new object. Keys for %args:
11
12         * ddir:   destination directory ( ./perl-current )
13         * source: the rsync source ( ftp.linux.activestate.com::perl-current )
14         * opts:   the options for rsync ( -az --delete )
15         * rsync:  the full path to the rsync program ( rsync )
16         * v:      verbose
17
18   $rsync->pre_sync()
19       Create the destination directory is it doesn't exist.
20
21   $object->sync( )
22       Do the actual sync using a call to the rsync program.
23
24       rsync can also be used as a smart version of copy. If you use a local
25       directory to rsync from, make sure the destination path ends with a
26       path separator! (This does not seem to work for source paths mounted
27       via NFS.)
28
30       (c) 2002-2013, All rights reserved.
31
32         * Abe Timmerman <abeltje@cpan.org>
33
34       This library is free software; you can redistribute it and/or modify it
35       under the same terms as Perl itself.
36
37       See:
38
39         * <http://www.perl.com/perl/misc/Artistic.html>,
40         * <http://www.gnu.org/copyleft/gpl.html>
41
42       This program is distributed in the hope that it will be useful, but
43       WITHOUT ANY WARRANTY; without even the implied warranty of
44       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
45
46
47
48perl v5.36.0                      2023-01-20     Test::Smoke::Syncer::Rsync(3)
Impressum