Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: How do I allow my test script to get rsync to archive file ownership?

by nysus (Parson)
on Jan 22, 2018 at 18:50 UTC ( [id://1207699]=note: print w/replies, xml ) Need Help??


in reply to Re: How do I allow my test script to get rsync to archive file ownership?
in thread How do I allow my test script to get rsync to archive file ownership?

I'm testing that my objects which contain wrappers to Net::OpenSSH (which wraps rsync) are properly syncing files to and from a server. So for example, I can rsync easily and safely with something like this:

# set up my server my $server = Server->new('host_name'); $server->set_remote_dir('/my/files'); $server->rsync_dir;

$PM = "Perl Monk's";
$MCF = "Most Clueless Friar Abbot Bishop Pontiff Deacon Curate Priest";
$nysus = $PM . ' ' . $MCF;
Click here if you love Perl Monks

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1207699]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-24 23:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found