Replacing your control files with the sample files
When you install a new version of RICOH ProcessDirector, the installer automatically adds new sample control files to the
/aiw/aiw1/samples
directory and copies them to your control files directory, /aiw/aiw1/control_files
. It does not overwrite any of your customized control files in /aiw/aiw1/control_files
. You can use the copyConfigurationFiles script to install the default control files
or to overwrite your customized control files.Replacing your control files requires Perl to run. Before replacing your control files, make sure a Perl interpreter is installed.
- Log in to the primary computer as the RICOH ProcessDirector system user ( aiw1 is the default).
- On the command line, enter this command:
- /opt/infoprint/ippd/bin/copyConfigurationFiles.pl
You can add these optional parameters to the copyConfigurationFiles command:
- [-r [-b]] [-w forceReplaceFile] [samplesDirectoryconfigurationFilesDirectory] [[-o differencesOutputFile] [-c]] [-v] [-help]
- -r
- The script overwrites existing files in the
/aiw/aiw1/control_files
directory. - -b
- The script backs up each file it replaces. The backup files are called replaced_file.bak. It does not back up files unless they are being replaced by a different version of that file.
- -w forceReplaceFile
- The script overwrites a specific set of files. List the file paths to overwrite in the forceReplaceFile file.
- samplesDirectory
- The directory where the sample files are located. The default is
/aiw/aiw1/samples
. - configurationFilesDirectory
- The directory where the control files are located. The default is
/aiw/aiw1/control_files
. - -o differencesOutputFile
- The script writes any file names where there are different versions of a file in the samples and control_files directories. The different version file names are written to the differencesOutputFile file.
- -c
- The script compares the files in the
/aiw/aiw1/samples
and/aiw/aiw1/control_files
directories and prints a list of which files are in both directories but have different content. Running the script with this parameter does not do the normal copying and replacing. - -v
- The script displays additional file information while copying files.
- -help
- The script displays help and syntax information.
New versions of RICOH ProcessDirector might add new functions that require updated control files. To move your customized content from the old control files to the new control files:
- Generate a list of which files have new versions. Enter this command:
- copyConfigurationFiles.pl -o /tmp/differencesOutputFile
- Copy the new control files. Enter this command: copyConfigurationFiles.pl -r -b -w /tmp/differencesOutputFile
Specifying the -b option means the script backs up files before overwriting them.
- Copy your customized content from the replaced_file.bak backup files to the corresponding control file.