Contents
Syntax
The syntax for
cpy(sources, target) cpy sources target
@cpy(sources, target) @cpy sources target
Description
Note: Paths can be unoquoted, single quoted or double quoted.
Note: You should also be able to use the copy function for the underlying shell as well, typically
Note:
@cpy dir1 dir2;! @cp(dir1, dir2)!
Options
The following options are available for
option | description |
---|---|
backup files to be replaced | |
ensures files have write permission before trying to overwrite them | |
prompt when moving files | |
do not overwrite existing files | |
treat target as a file rather than a directory | |
only overwrite files if file to replace is newer | |
output which files are being moved and where (verbose) | |
option | description |
f++ example
Examples of
- cpy("sample.txt", "sample1.txt")
- cpy dir1 dir2 dir3
- cpy{u} *.txt dir
n++ example
Example of
- @cpy("sample.txt", "sample1.txt")
- @cpy dir1 dir2 dir3
- @cpy{u} *.txt dir