Project

General

Profile

Copy » History » Revision 4

Revision 3 (Per Amundsen, 10/05/2016 01:17 PM) → Revision 4/6 (Per Amundsen, 05/24/2018 10:13 AM)

_Added in 1.9.6_ 

 */copy -ao <filename> <filename/directory>* 

 Copies a file to another filename or directory.  

 *Switches* 

 -a - Appends the source file to the target file. 
 -o - Overwrites the target file if it exists. 
 -f - Flushes copy to disk immediately. 

 *Parameters* 

 <filename> - Filename to copy from. (Can be a [[Scripting_Wildcards|wildcard]]) wildcard) 
 <filename/directory> - Filename or directory to copy to. 

 *Example* 

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

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