domain_change_fs.pl

The domain_change_fs.pl script handles all the steps required to change the domain name under the file system data directory. It does not change database contents.

Overview

By default, only .s?html?(.[a-z][a-z])?(,v)?, .txt(,v)?, and .vm(,v)? files are modified, unless --dir is specified.

Note: Changing the domain through any other mechanism may cause problems.

Usage

Execute this script with a command like this:

[RUNTIME_DIR]/domain_change_fs.pl [--debug] [--dir] --old={domain_name} --new={domain_name}
Note: The new domain name must match the value defined for the DOMAIN token in the site-options.conf file.

Options

The domain_change_fs.pl script provides the following parameters:

--help
Show this message
--debug
Include debugging output
--old
Old domain
--new
New domain
--dir
Run domain change in this directory only. You must specify the full path.

Use this feature to do a subset of the data directory. This instructs the script to do a recurse in the specified directory looking for the old domain_name and replacing it with the new domain_name. .

Note: Without this option, only HTML, text, and VM files are modified.
--threadlimit
Defines the maximum number of simultaneous threads that can be invoked by this program. The default value is '50'