Chisel > Zucchini-0.0.21 > Zucchini::Rsync

Download:
Zucchini-0.0.21.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.0.21   Source  

NAME ^

Zucchini::Rsync - move files using rsync

VERSION ^

version 0.0.21

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 <chisel@chizography.net>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2012 by Chisel Wright.

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

syntax highlighting: