View Source Doex.Cli.Scp (doex v0.14.1)

Secure copy a file from <src> to your droplet's <target>

 doex scp <droplet_name> <src> <target>

You can provide the droplet ID, reference it by name, or by tag (if you add the --tag option)

For example

doex scp my_app ./bin/env /src/my_app/bin/env

If you have a specific config file, mix help doex.config then add it as an environment variable

DOEX_CONFIG=/tmp/my.doex doex scp my_app ./bin/env /src/my_app/bin/env

Link to this section Summary

Link to this section Functions

Link to this macro

invoke(piped_in_argument, expr)

View Source (macro)