Help for this page

Select Code to Download


  1. or download this
    #! /bin/sh
    cd $(dirname $0)/site
    ...
    
    # sync.
    rsync -avz "$@" --delete -e 'ssh -l myuser' $remote_keep $sync myhost.
    +com:
    
  2. or download this
    #!/usr/bin/perl
    
    ...
           @remote_keep, @sync,
           qw(mysite.com:)
          );