Chisel > Zucchini-0.0.17 > Zucchini::Rsync

Download:
Zucchini-0.0.17.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View/Report Bugs
Source   Latest Release: Zucchini-0.0.21

NAME ^

Zucchini::Rsync - transfer files to remote server using rsync

SYNOPSIS ^

  # create a new rsync object
  $rsyncer = Zucchini::Rsync->new(
    {
      config => $self->get_config,
    }
  );

  # transfer the site
  $rsyncer->remote_sync;

DESCRIPTION ^

This module implements the functionality to transfer files to the remote site using FTP.

METHODS ^

new

Creates a new instance of the Zucchini Rsync object:

  # create a new fsync object
  $rsyncer = Zucchini::Rsync->new(
    {
      config => $zucchini->get_config,
    }
  );

remote_sync

This function performs an upload to the remote server using File::Rsync.

  # transfer the site
  $rsyncer->remote_sync;

SEE ALSO ^

Zucchini

AUTHOR ^

Chisel Wright <chiselwright@users.berlios.de>

LICENSE ^

Copyright 2008-2009 by Chisel Wright

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <http://www.perl.com/perl/misc/Artistic.html>

syntax highlighting: