blob: f87a23c4bf8e69c60a5c9980cbb3b3be3372025d [file] [log] [blame] [view]
# fx cp
copy a file to/from a target device
```none
usage: fx cp [-r] [--to-target|--to-host] SRC... DST
Copies a file from the host to the target device, or vice versa.
-r: recursively copy directories
--to-target: copy file SRC from host to DST on the target
--to-host: copy file SRC from target to DST on the host
The default is to copy files to the target.
```
[cp source code](https://cs.opensource.google/fuchsia/fuchsia/+/main:tools/devshell/cp)