Files and Directories Compare Operations
DiskBoss provides the ability compare directories and detect changes in the directory structure, file contents, file size, file attributes, file ownership, creation and last modification dates. The user is provided with the ability to detect all changes between two directories and save reports into a number of various report formats including HTML, PDF, text, CSV and XML.
In addition, DiskBoss allows one to select which types of changes to detect, compare specific types of files using flexible file matching rules, exclude special subdirectories from the directories comparison process, customize various performance optimization options and export detected changes to an SQL database.
IT professionals and storage administrators are provided with the ability to schedule periodic execution of directory comparison operations and configure conditional actions allowing one to automatically save various types of reports, send E-Mail notifications and/or execute file synchronization or custom file management operations when a directory comparison operation detects a user-specified number of changes.
Comparing Files and Directories
In order to perform a simple directories comparison operation, press the 'Compare' button located on the main toolbar. On the 'Compare Directories' dialog, enter a source directory, a destination directory and press the 'Compare' button. DiskBoss will scan the specified source directory including all subdirectories, verify the directory structure, check all files and display the directories comparison results dialog showing all the detected file system changes.
In addition, the 'Compare Directories' dialog provides the ability to configure advanced directories comparison options allowing one to select which types of file system changes to detect, optimize the performance of directories comparison operations, configure specific types of files to compare, exclude subdirectories from the directories comparison process and configure conditional file management actions and E-Mail notifications to be executed when a user-specified number of changes are detected.
The compare directories results dialog shows the list of detected file system changes and provides the ability to view detailed information about the directories comparison operation, save the detected file system changes to a number of standard report formats, export changes to an SQL database and copy changes to the clipboard.
Saving Directories Comparison Reports
In order to save a directories comparison report, compare two directories, open the directories comparison results dialog, press the 'Save' button and select one of the following report formats: PDF, HTML, Text, Excel CSV or XML. In addition, DiskBoss Ultimate and DiskBoss Server provide the ability to export detected file system changes to an SQL database.
Each report includes a report summary showing the date and time of the report, the total number of processed files and the total amount of disk space, the number of changed files and changed directories and the list of detected file system changes. For each detected file system change, DiskBoss shows the change description and the name of the related file or directory.
Directories Comparison Options
Depending on user-specific needs, sometimes it may be required to detect only specific types of files system changes and hide irrelevant changes. In order to select which types of file system changes to detect, open the 'Compare Directories' dialog, press the 'Advanced Options' button and select the 'General' tab.
Advanced Directories Comparison Options
In order to configure advanced directories comparison options, open the 'Compare Directories' dialog, press the 'Advanced Options' button and select the 'Advanced' tab, which provides the ability to control the default report title, the maximum number of file system changes to report, the number of parallel directory comparison threads, the speed of the directories comparison operation and the files comparison mode.
Comparing Specific Types of Files
DiskBoss allows one to compare selected files by the file type, size, file name, extension, file attributes, etc. using one or more user-specified file matching rules. For example, the user is provided with the ability to compare all types of documents, images and program files and skip all other types of files. Multiple different types of file matching rules may be used to precisely select files to be processed.
In order to add one or more file matching rules to a directories comparison operation, select the 'Rules' tab, press the 'Add' button, select a rule type and enter all required parameters. During the directories comparison process, DiskBoss will select files using the specified file matching rules, compare files matching the specified rules and skip all other files.
In addition to positive file matching rules, which can be used to specify files to compare, DiskBoss also provides negative file matching rules, which can be used to exclude specific files from the directories comparison process. For example, in order to exclude all types of backup files from the directories comparison process, add a new file matching rule, select the 'Search Files Categorized As' rule type, select the 'Archive, Backup and Disk Image' files category and then select the 'Not Categorized' rule operator.
Excluding Subdirectories from the Comparison Process
Sometimes, it may be required to exclude one or more subdirectories from the directories comparison process. In order to exclude one or more directories, open the 'Compare Directories' dialog, press the 'Advanced Options' button, select the 'Exclude' tab and add directories that should be excluded from the directories comparison operation.
In addition, advanced users and IT professionals are provided with a number of exclude directories macro commands allowing one to exclude multiple directories using a single macro command.
For example, the exclude macro command '$CONTAINS Temporary Files' will exclude all directories with 'Temporary Files' at any place in the full directory path and the exclude macro command '$REGEX \.(TMP|TEMP)$' will exclude directories ending with '.TMP' or '.TEMP'.
Conditional Actions and E-Mail Notifications
DiskBoss provides the ability to compare two directories, evaluate the directories comparison results and then automatically save various type of reports, send E-Mail notifications or execute file management operations if the number of detected file system changes exceeds a user-specified number. In order to configure one or more conditional directories comparison actions, open the directories comparison options dialog, select the 'Actions' tab and press the 'Add' button.
On the 'Add Action' dialog, specify the number of changes to trigger the action, select an appropriate action type and specify all the required parameters. The 'Send HTML Notification' and 'Send Text Notification' action send an E-Mail notification to the specified E-Mail address. In addition, the user needs to open the 'Options' dialog and configure an E-Mail server to use to send E-Mail notifications.
For all report generation actions, the user needs to specify a name of an existing directory where to save all report files. The 'Save To SQL Database' action saves the list of detected changes to an SQL database and in order to use this action the user needs to open the 'Options' dialog and configure an ODBC data source to use to export changes to the SQL database. The 'Execute User Command' action allows one to execute a pre-configured DiskBoss file copy, file synchronization or any other DiskBoss file management operation. The 'Execute Custom Command' action provides the ability to execute a user-custom command, script or batch file.