Hi,
 
I am trying to use rsync in a CGI program to show a list of files that require update on a remote server.  It appears to work fine, but I would like to shut off the last two lines that gives the status information.  I have tried using "-q" to put it in quite mode, but then I don't get anything.  I am not using "-v" so I don't know what is causing it to show this information.  Here is my command that I am using:
 
$switches = "-gHloprtn";
 
    $rsync = "/usr/local/bin/rsync -e ssh --delete $switches --rsync-path=/usr/bin/rsync --exclude=pcdata/tmp --exclude=vssver.scc --exclude=.htaccess $srcDir $destHost{$host}:$destDir 2>&1 |";
 
  • cvs:building file list ... done
  • cvs:FOLDER.GIF
  • cvs:HTMLFILE.GIF
  • cvs:bottom.html
  • cvs:crew_survey.pl
  • cvs:maillist.pl
  • cvs:sendpass.pl
  • cvs:skinChoose.pl
  • cvs:skinCommon.pl
  • cvs:skinEnlargedView.pl
  • cvs:skinGenerateCategoryOptions.pl
  • cvs:skinModifyForm.pl
  • cvs:skinModifyLogin.pl
  • cvs:skinSubmitForm.pl
  • cvs:skinVerify.pl
  • cvs:skinViewer.pl
  • cvs:submitSuggestion.pl
  • cvs:submitSuggestions.pl
  • cvs:suggest.pl
  • cvs:top.html
  • cvs:wrote 796 bytes read 92 bytes 355.20 bytes/sec
  • cvs:total size is 237225 speedup is 267.15
  •  
     
    Peter Loo (Software Engineer)
    NeoPlanet, Inc.
    1524 W. 14th Street, Ste. 102,
    Tempe, AZ 85281
    Work: (480) 317-2081
    Work: [EMAIL PROTECTED]
    Work: www.NeoPlanet.com
    Cell: (602) 721-2401
    Personal: [EMAIL PROTECTED]
    Personal: [EMAIL PROTECTED]
    Personal: www.WhatCanUOffer.com
     

    Reply via email to