EnduraData EDpCloud Cross Platform File Replication and Transfer Solutions(edincludesexcludes)
Check for Updates of your file sync and replication software from www.enduradata.com

Including and Excluding Files.

edincludesexcludes


NAME

edincludesexcludes - Using regular expressions to include and exclude files from replication.

SYNOPSIS

DESCRIPTION

EDpCloud uses regular expressions to filter files and directories that need to be included in or excluded from replication. By default all files are included in the replication unless they are in the exclude list.

Including and Excluding files by names or by patterns

We refer to file inclusions as includes. We also refer to file exclusion as excludes. Includes and excludes are controlled for all links or or for individual links.

Including files, directories, etc.

The includes are controlled using the default file under EDpCloudbasedir/etc/includes (by default if this file does not exist, we will use the regular expression .* which means include all patterns.

You can override the content of this file by providing a file name directly in eddist.cfg using incfile="absolutepathfilename". You can also specify additional patterns using the keyword include="List of expressions" in eddis.cfg.

Make sure you escape special characters such as '\' and '$'.

Correct: .*:\\data\\.*

Incorrect: .*:\Windows\\.* [ because we forgot to escape the first backward slash ]

Excluding files, directories, etc.

Excludes are controlled using EDpCloudbasedir/etc/excludes or by setting exfile="path_to_custom_exlude_file" for a given link in eddist.cfg. You can also enter the expressions directly in eddist.cfg using excludes="Expressions".

By default, EDpCloud ships with an exclude file for your platform and you must edit it to suit your needs.

FILES

$ED_BASE_DIR/etc/eddist.cfg $ED_BASE_DIR/etc/includes $ED_BASE_DIR/etc/excludes

SEE ALSO

eddist.cfg(5)

RETURN VALUE

The status is 0 on success.

ENVIRONMENT

ED_BASE_DIR: Top install directory.

SUPPORT

For more information contact <support@enduradata.com>

AUTHOR

A. A. El Haddi, elhaddi@ieee.org