pols cp
Copy a file between this machine and a sandbox
Copy one file. Exactly one side is SANDBOX:/absolute/path; the other is a local path, or - for stdin/stdout.
Usage
pols cp SRC DST [flags]
Examples
pols cp ./app.tar.gz web:/home/user/app.tar.gz
pols cp web:/var/log/syslog -
pols cp --root --mode 0755 ./setup.sh web:/usr/local/bin/setup
Flags
-h, --help help for cp
--mode string permission bits of the uploaded file, like 0755 (default 0644)
--root make the uploaded file owned by root
The global flags work with this command too.