Test::S...::Rsync(3)

πŸ“¦
version 1.84 Β· 2 versions
, in fedora 43

πŸ’– 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.) 🫢


(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