Skip to content

Options how? #4

@miklosban

Description

@miklosban
    $rsync = new Rsync([
                        Rsync::CONF_EXECUTABLE => $rsync_exec,
                        Rsync::CONF_OPTIONS => [
                            Rsync::OPT_DRY_RUN,
                        ],
            ]);

I assumed this way, but this is not works. Could you help me with an example please?

PHP Fatal error: Uncaught xobotyi\rsync\Exception\Command: Option 0 is not supported in /var/www/html/biomaps/resources/includes/vendor/xobotyi/rsync/src/Command.php:368...

php 7.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions