Re: Incorrect output or RSYNC with exec();
| From: | Richard Lynch | Date: | Wed, 03 Oct 2001 03:13:18 +0000 |
| Subject: | Re: Incorrect output or RSYNC with exec(); | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69695@lists.php.net to get a copy of this message | ||
Wild Guess:
http://php.net/clearstatcache
--
WARNING richard@zend.com address is an endangered species -- Use
ceo@l-i-e.com
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message -----
From: Christian Sylvestre <christian.sylvestre@razorfish.com>
Newsgroups: php.general
To: <php-general@lists.php.net>
Sent: Thursday, September 27, 2001 4:55 AM
Subject: Incorrect output or RSYNC with exec();
> Hello. I have a weird problem. I have apage where a user can see the
> different files & directories between 2 servers using RSYNC.
>
> However files deleted on the source server are not listed in the output of
> exec() (I am using the --delete parameter with the RSYNC command). All of
> the rest of the output is OK.
>
> If I try the command direclty from the command line I will have the list
of
> files that need to be deleted (under Solaris 2.7).
>
> And the funny thing is that rsync is working fine, i.e. it will sync and
> delete the source and the target server but it will never output the list
of
> files to be deleted in the exec output...
>
> Is there some kind of filetering on the word delete in the PHP exec
command
> output???
>
> Any idea?
>
> Cheers,
>
> Christian
>
> christian.sylvestre@razorfish.com
>
>