Skip to content

Use Rsync #36

@namn-grg

Description

@namn-grg

Currently we use scp to send node config data to all the machines, and therefore also need to delete the old node configs on the machine.

To remove extra files from the destination folder (i.e., make the destination folder an exact replica of the source folder), you should use rsync with the --delete flag.

rsync -av --delete my_folder/ user@remote:/path/to/destination/

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions