Copy » History » Version 4
Per Amundsen, 05/24/2018 10:13 AM
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 | 4 | Per Amundsen | <filename> - Filename to copy from. (Can be a [[Scripting_Wildcards|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> |