Incorrect output or RSYNC with exec();
| From: | Christian Sylvestre | Date: | Thu, 27 Sep 2001 09:55:38 +0000 |
| Subject: | Incorrect output or RSYNC with exec(); | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-68971@lists.php.net to get a copy of this message | ||
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