Table of Contents

Search

  1. Preface
  2. Introduction
  3. Dashboard
  4. Resources
  5. Workflows
  6. Task Reference
  7. Services Overview
  8. Users
  9. Logs and Reports
  10. Encryption
  11. System
  12. Appendix
  13. Glossary Terms

Rename Files

Rename Files

The Rename Directory element renames a directory on the Informatica HTTPS server.
Field
Definition
Basic Tab
Label
Specify a label for this action.
From
Specify the path and name of the file or directory to be renamed. The path may be specified as absolute or relative to the current working directory.
To
Specify the new path and name. The path may be specified as absolute or relative to the current working directory. This attribute is only valid if a single file is being renamed.
Advanced Tab
Input Files Variable
Specify the name of a variable of type Remote File List which contains the files to rename on the remote server. For example, ${variableName}.
File Name Prefix
Specify the string to prepend to the name of the file(s) being renamed.
File Name Suffix
Specify the string to append to the name of the file(s) being renamed.
Search Pattern
Specify a pattern to search and replace in the file name(s). Both regular expressions and wildcard search patterns can be used and can be changed using the Pattern Type attribute.
Pattern Type
Specify the type of pattern to use when using search and replace on the file names.
Default Value: wildcard
Replace With
Specify the pattern to replace in the file names. If using regular expressions and groups of the file names were captured, use the syntax $1, $2, etc... to reuse the captured segments. If using wildcard search and replace, use character * and ? to reuse the values the * and ? represented in the search for value.
Case Sensitive
Specify whether or not to use case sensitive matching when searching and replacing sections of the file names.
Default Value: false
Output Variables Tab
Destination Files Variable
If desired, specify the name of a variable which will contain the files in the destination directory on the remote system that were successfully renamed. This variable will be of type Remote File List and may be used in subsequent tasks that accept a Remote File List input variable. The variable will be created if it does not exist.
Number of Files Renamed Variable
If desired, specify the name of a variable which will contain the number of files successfully renamed. The variable may be used in subsequent tasks. The variable will be created if it does not exist.

0 COMMENTS

We’d like to hear from you!