Project

General

Profile

Actions

Copy » History » Revision 5

« Previous | Revision 5/6 (diff) | Next »
Per Amundsen, 02/16/2023 02:09 AM


Added in 1.9.6

/copy -ao <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.

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 over 1 year ago · 5 revisions

Also available in: PDF HTML TXT