Rename FileThe Rename File object is used to rename files on the local file system.How it is usedUse the Rename File object to automatically rename files to a standard format that is specified by data center procedures.ConfigurationTo configure the Rename File object you need to know the file that you are renaming and the name that you are changing it to.Details tab
File Type the path of the folder that contains the file that you want to rename. To rename all files in a folder, type the path and use wildcards in the filename portion of the path.To include sub-folders, check the Include sub-folders check box. Old name Type the old name of the file (without the path), or insert a Published Data item. New name Type the new name for the file (without the path), or insert a Published Data item.Advanced tab
File age (days) Apply an age filter to determine whether the file should be renamed or not.
• no age filter – rename the file without considering its age.
• is less than – rename the file if it is less than n days old. Type the number of days in the field to the right of the drop-down list.
• is more than – rename the file if it is more than n days old. Type the number of days in the field to the right of the drop-down list.Note: The age filter counts from 12:00 a.m. of the day on which you perform the operation. It does not count from the current time.Connection tabYou must configure a connection to a UNIX computer before you can use this object. To configure a connection, see Connecting to a UNIX Server for instructions.Select the connection name that you want to use from the Server drop-down list.Available Published Data
Name Description SSHCmdOutput The output from the executed SSH command. Status Message The status message for this object. File Name The name of the file that was renamed. File name with path The full path and filename of the file that was renamed. Origin Folder The name of the folder where the original file was stored. Relative Path The filename and path relative to the destination folder. Failed File Name The name of the file in the failed operation. File Count The number of successful operations Failed File Count The number of failed operations