Project

General

Profile

Copy » History » Version 3

Per Amundsen, 10/05/2016 01:17 PM

1 1 Per Amundsen
_Added in 1.9.6_
2
3
*/copy -ao <filename> <filename/directory>*
4
5
Copies a file to another filename or directory. 
6
7
*Switches*
8
9
-a - Appends the source file to the target file.
10
-o - Overwrites the target file if it exists.
11 3 Per Amundsen
-f - Flushes copy to disk immediately.
12 1 Per Amundsen
13
*Parameters*
14
15 2 Per Amundsen
<filename> - Filename to copy from. (Can be a wildcard)
16 1 Per Amundsen
<filename/directory> - Filename or directory to copy to.
17
18
*Example*
19
20
<pre>
21
; Copy all the files in directory 'aaa' into directory 'bbb'.
22
/copy aaa bbb
23
24
; Copy file 'aaa.png' into folder 'bbb'
25
/copy aaa.png bbb
26
</pre>