Copy » History » Version 2
Per Amundsen, 06/11/2016 03:14 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 | |||
| 12 | *Parameters* |
||
| 13 | |||
| 14 | 2 | Per Amundsen | <filename> - Filename to copy from. (Can be a wildcard) |
| 15 | 1 | Per Amundsen | <filename/directory> - Filename or directory to copy to. |
| 16 | |||
| 17 | *Example* |
||
| 18 | |||
| 19 | <pre> |
||
| 20 | ; Copy all the files in directory 'aaa' into directory 'bbb'. |
||
| 21 | /copy aaa bbb |
||
| 22 | |||
| 23 | ; Copy file 'aaa.png' into folder 'bbb' |
||
| 24 | /copy aaa.png bbb |
||
| 25 | </pre> |