Test::S...::Rsync(3)
π Test::Smoke::Syncer::Rsync π
okay so bestie, welcome to Test::S...::Rsync(3) β the Perl doc page for the thing that does the rsync-ing β¨
Test::Smoke::Syncer::Rsync handles all the syncing with the rsync program. That's literally its whole job and it's doing it gorgeously π
Real talk though: this is only ever supposed to be visible from the "parent-package", so likeβ¦ no direct user-calls on this, okay? It's giving backstage pass only π
π¦ Test::Smoke::Syncer::Rsync->new( %args ) π¦
This creates the new object, bestie. Slay. Here are the keys for %args:
ddirβ the 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 π
πΈ $rsync->pre_sync() πΈ
Creates the destination directory if it doesn't exist. Like, it's the little pre-game ritual before the main event π
β¨ $object->sync( ) β¨
Does the actual sync β it makes a call to the rsync program and lets it cook π₯
ngl, rsync can also be used as a smart version of copy. But listen carefully: if you're rsyncing from a local directory, make sure the destination path ends with a path separator! (This does not seem to work for source paths mounted via NFS.) π«Ά
π COPYRIGHT π
(c) 2002-2013, All rights reserved. π
- Abe Timmerman
<abeltje@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Periodt.
See:
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. No cap, that's the actual deal π
and that's the whole vibe check, bestie β this page came to you from perl v5.42.0, dated 2025-07-25, living its main character life as Test::S...::Rsync(3) in the User Contributed Perl Documentation section. iykyk π¦π
π¦ where this page comes from
- fedora 43: perl-Test-Smoke 1.84-2.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms