Actions ModifyFile - thica/ORCA-Remote GitHub Wiki
Provides some common file operations like copy, rename, delete. All Operations can only be performed on files within the definition folder, so all pathes must be relative to the definition root folder. For copyfolder the abspath argument gives you access as a source for folder outside the definition folder This action will modify the error code (0=success, 1=failure), existfile will not modify the error coee
Attribute | Description |
---|---|
string | modifyfile |
filename | Relative path to file name |
path | Relative path |
abspath | Absolute path to source folder (copyfolder only) |
dstfilename | For copy,rename and zip... the destination file name |
dstpath | For copy,rename... the destination path name |
dstvarname | for exist the destination var for the result |
removepath | for zip: the path to remove from the zip directory |
skipfiles | for zipfolder: filenames to exclude from the zip file (list) |
Operator |
Operator for the command. Use one of the following keywords
|
exist returns "TRUE" or "FALSE"
A short example:
<action name="" string="modifyfile" filename="definition.ini" operator="copy" dstfilename="definition.old"/>