Conditionals

Data Migrator Administration Guide for Hitachi NAS Platform

Version
14.8.x
Audience
anonymous
Part Number
MK-92HNAS005-31

The following table shows a set of rules with explanations. The syntax can easily be broken down into cause and effect statements, identified by IF and THEN connectors.

Rule Description
INCLUDE (<FILENAME *.doc>) IF the file is a .doc file, THEN include it for migration.
EXCLUDE (<PATH /mydir/*>) IF the path is the /mydir directory THEN exclude it from migration.
INCLUDE (<FILENAME *.prj> AND <FILE_SIZE_OVER 4GB>) IF the file is a .prj file AND the .prj file is over 4 GB in size, THEN include it for migration.
INCLUDE (<PATH /unimportant>) IF the path is the /unimportant directory THEN include it for migration.
EXCLUDE (<FILE_SIZE_OVER 100GB>) INCLUDE (<FILE_SIZE_OVER 12GB>) IF files are larger than 12 GB but smaller than 100 GB in size, THEN include them for migration.