Page History
...
The JITL RenameFileJob job renames or moves one or more files. The job belongs to the category of JS7 - JITL File Operation Jobs.
The JITL File Operation Jobs support commonly used operations such as copy, rename, move, delete and check for the existence of files. Any file operations are implemented with Java and are available for any OS platforms supported by JS7 Agents. In comparison with operating system commands like
copy
,cp
,move
,mv
,del
andrm
, that behave differently on different operating systems, the handling and behavior of File Operation Jobs is identical for all supported operating systems.Most File Operation Jobs support "regular expressions" to allow filtering of matching file names.
File Operation Jobs are frequently used in workflows to check for the existence of files, to rename files and to copy/move files to different locations.
Usage
When defining the job considereither:
- to invoke the Wizard that is available from the job properties tab in the Configuration view and to select the JITL RenameFileJob and respective relevant arguments from the Wizard
or
- to specify the
JITL
job class andcom.sos.jitl.jobs.file.RenameFileJob
Java class name , then and add arguments as explained from in the documentation below documentation.
Example
Download: jdRenameFile.json
A RenameFileJob configuration can look like this:
Documentation
The Job Documentation including the full list of arguments can be found under: https://www.sos-berlin.com/doc/JS7-JITL/RenameFileJob.xml
...