Project

General

Profile

Actions

Added in 1.9.6

/copy [-aop] <filename> <filename/directory>

Copies a file to another filename or directory.

Switches

Switch Description
-a Appends the source file to the target file.
-o Overwrites the target file if it exists.
-f Flushes copy to disk immediately.
-p Preserves accessed/created/modified timestamps.

Parameters

Parameter Description
<filename> Filename to copy from. (Can be a wildcard)
<filename/directory> Filename or directory to copy to.

Example

; Copy all the files in directory 'aaa' into directory 'bbb'.
/copy aaa bbb

; Copy file 'aaa.png' into folder 'bbb'
/copy aaa.png bbb

Updated by Per Amundsen 11 months ago · 6 revisions

Also available in: PDF HTML TXT