pantheon-systems/terminus-rsync-plugin

Rsync - Terminus Plugin that provides a quick shortcut for rsync-ing files to and from a Pantheon site.

Installs: 19 589

Dependents: 0

Suggesters: 0

Security: 0

Stars: 11

Watchers: 8

Forks: 7

Open Issues: 6

Type:terminus-plugin

1.1.0 2019-02-22 16:32 UTC

This package is auto-updated.

Last update: 2021-04-10 18:40:58 UTC


README

CircleCI Terminus v1.x Compatible

Terminus Plugin that provides a quick shortcut for rsync-ing files to and from a Pantheon sites.

Learn more about Terminus and Terminus Plugins at: https://pantheon.io/docs/terminus/plugins/

Configuration

This plugin requires no configuration to use.

Examples

Copy the files directory of the dev environment of the Pantheon site my_site into a directory named files in the current working directory:

terminus rsync my_site.dev:files .

Copy everything in the files directory of the dev environment of the Pantheon site my_site into a folder called assets in the current working directory, omitting the files directory itself:

terminus rsync my_site.dev:files/ ./assets

Copy everything in the folder assets in the current working directory into a folder called assets in the files directory of the dev environment of the Pantheon site my_site.

terminus rsync ./assets my_site.dev:files

Limitations

Either the source or the destination must be a local file or directory; both cannot be remote.

Installation

For help installing, see Manage Plugins

mkdir -p ~/.terminus/plugins
composer create-project --no-dev -d ~/.terminus/plugins pantheon-systems/terminus-rsync-plugin:~1

Help

Use terminus help remote:rsync to get help on this command.