/[vz-tools]/trunk/vz-clone.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/vz-clone.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 30 by dpavlin, Fri Oct 5 01:09:12 2007 UTC revision 31 by dpavlin, Thu Oct 11 19:28:27 2007 UTC
# Line 85  sub copy_files { Line 85  sub copy_files {
85          my ( $from, $to ) = @_;          my ( $from, $to ) = @_;
86          return if $action ne 'create';          return if $action ne 'create';
87          warn "rsync $from -> $to\n";          warn "rsync $from -> $to\n";
88          rsync('-raSHAD', "$from/", "$to/" );          rsync('-raSHAD', '--delete', "$from/", "$to/" );
89  }  }
90    
91  if ( $vz_lv ) {  if ( $vz_lv ) {

Legend:
Removed from v.30  
changed lines
  Added in v.31

  ViewVC Help
Powered by ViewVC 1.1.26