|
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 |";
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 |
- Re: How can I shut off status information? Peter Loo
- Re: How can I shut off status information? Pierre Abbat
