DirEqual icon

DirEqual User Manual

EnglishFrenchGermanItalianPortugueseRussianSpanish
Introduction
DirEqual is a powerful directory comparison tool for Mac, designed to detect even the smallest differences between folders. It presents results in a clear and intuitive manner, with color-coded highlights and icons that indicate the type of difference—whether in size, date, or content.
Watch a short demo on YouTube.
Description
DirEqual main window is divided into 4 sections: Toolbar, path panel, results view (list) and status bar.
Compare Folders
(1) The toolbar contains main controls and buttons. From the left side:
- Excluded folder. Allows to define folders which will be skipped when comparing the left and right folders.
- Compare file content. If disabled, only the date and size are used to determine whether the two files are the same. If you select this option, the files are compared byte by byte and the comparison stops after the first difference in the files. This gives a 100% guarantee that the compared files are equal or different. Only the contents of files with the same name and size are compared. Comparing file contents slows down the comparison process. The byte-by-byte comparison method used in DirEqual is more efficient (file scanning stops after the first difference is found) than file checksum. Each checksum method requires the entire file to be read first in order to calculate its checksum.
- Compare options.
- Status bar.
- Start button. Press to initiate the comparision. The button will change to Stop button which allows to abort the comparision.
- Synchronize button. Click to synchronize the two folders. Wikipedia.
- Execute button. When Copy/delete actions have been set, this button executes all the actions. To clear all the actions set previously, hold down the Option key while clicking the Execute button.
- Info Panels button. Click to open / close panels with detailed information on selected items.
- The segment switch which allows to choose between folder and file comparator.
(2) Compared folder paths. To select folders to compare:
      - click the browse button on the left side and select folders, you can select two folders to compare at a time,
      - drag and drop folders to compare. You can drag one or two folders at a time,
      - manually enter folder paths,
      - select folders from comparision history list.

      To exchange left and right folders, click the left/right arrow button in the middle.
      The control panel also displays basic statistics of the compared folders (size in bytes, number of files, number of folders). The statistics are displayed after compare process has finished.
(3) Comparision result filter:
      △ show ignored files
     
, = show files detected as identical,
     
show files which differ,
     
, - show files which only exist in left/fight folder.
(4) Folder compare options:
DirEqual options
Note.
".DS_Store" and "Icon\r" files are always skipped and not included in the compared folders!


Comparison Settings
Compare Everything – Disables all filters, ensuring that the comparison includes all files and subfolders.
Compare Subfolders – Includes all subfolders in the comparison process.
Include Hidden Items – Uncheck to exclude hidden files and subfolders from the comparison.
Include Empty Folders – Show or hide empty folders in the comparison results.

Ignore Criteria
Ignore Dates – Excludes file modification dates from the comparison.
Ignore Date Differences up to 2 Seconds – Treats files as having the same modification date if their timestamps differ by less than 2 seconds.
Ignore Size Differences up to [X] Bytes – If file or folder sizes differ by less than the specified number of bytes, they are considered equal. These items are highlighted in yellow, with the symbol indicating approximate equality. Parent folder comparison icons also reflect this status. (Note: This option is ignored when “Compare File Contents” is enabled.)
  Ignore File Extensions – Matches files with identical names while disregarding differences in extensions.


The Options button may have white letters in a yellow circle. These letters indicate that some options will affect the comparison result:
D - ignore dates is ON
S - ignore sizes is ON
F - filter is ON. This may be to exclude hidden files, empty folders, aliases or to compare without subfolders.
Ignore size diff
Comparision result with "Ignore size differences up to 1 B in all items" option set.
Include aliases - aliases and symbolic links will be included in the result list.
Resolve aliases
- aliases will be compared not by the contents but by resolving original files. If both compared aliases point to the same item or point to items which are on the same path in left and right folder, the aliases will be considered equal. For example:
left folder: /Users/test
right folder: /Volumes/backup
left alias points to /Users/test/applications/Mail.app
right alias points to: /Volumes/backup/applications/Mail.app
The aliases will be considered equal (even if /Users/test/applications/Mail.app and /Volumes/backup/applications/Mail.app are not equal).
If "resolve aliases" is off, aliases are compared as other files - by size, date and their content if "compare contents" is on.

Compare resource forks - if compared files contain resource forks, the forks will be also compared. This option works only if "Compare file contents" is enabled and if the both compared files have the same content. Additionally, when this option is enabled, file Finder's extended attributes are also compared.
Compare file tags - Works the same as "Compare resource forks" but for file tags instead of resource forks.
Keep folders on top. Folders and files will be grouped separately. 
Calculate folders size. Calculate and display compared subfolder sizes.
Size in bytes. Sizes will always be displayed in bytes, even for large files and folders. E.g. "25 144" instead of "25 KB".
Show time. The date column will contain the file modification time.
Show color tags. Displays file / folders tags next to their names.

Color backgrounds. Draws color backgrounds under compared items.
Show column lines. Displays vertical lines separating columns in the result view.
Alternating row colors. The rows in the result view will be displayed with an alternating background color.
Item size. Adjust the row size and font of the comparison results list. You can also use the Cmd+ and Cmd- keyboard shortcuts.
(5) Comparison status displays progress bar during compare process. After the compare has finished a short info of the compare result is shown.

(6) Comparison result view displays all files and folders inside the compared folders. You can expand subfolders on the left or right side to examine files inside. To expand a folder and all its child subfolders, select the parent folder and hold down the Option key while clicking the expand button.
To collapse a folder and all its child subfolders, select the parent folder and hold down the Option key while clicking the collapse button.
Attributes that are different are displayed in red color. If a file name is displayed in red color, that means the files' content differ.
Right click on a file displays context menu for it. DirEqual recognizes clicking on a left and right file and displays the proper menu options for the left or right file. Clicking on the middle column (> = <) displays the menu for both left and right file.
DirEqual context menu
Click the compare results icon to display a panel with the details of both files or folders:
Info panel
Double click the compare result icon to "ignore" the item. An ignored item cannot have an action assigned to it. Ignored items are mainly used to manually mark items that you are not interested in, even though they are different. You can also treat ignored items as "reviewed" or "processed" while you select items to copy or delete.

(7) Path navigator (not shown on the screenshot) displays the path of a selected file or folder. The path for left file is displayed if you select the file on the left side. The path for right file is displayed if you select the file on the right side.
Actions
Blue, red, orange, and purple arrows indicate different actions to be performed. To configure an action, click the dot in the middle column (> = <). There are four available actions: Copy, Copy As, Copy Tags, and Delete.
Copy: Click the dot without pressing any additional keys. The action will be indicated by an arrow (red if the operation will overwrite existing data).
Copy As: Hold the Shift key while clicking the dot.
Copy Tags: Hold Shift + Command while clicking the dot.
Delete: Hold the Option key while clicking the dot.

To select only items that differ, hold the Command key and click the parent folder.

After clicking the dot icon on the selected elements, the specified action will be applied to all selected items.
Select files
The actions can be also selected from the right-click context menu. Right click on a dot icon to display the menu:
Sync action
Executing Actions
The number displayed in the blue circle badge indicates the total number of actions to be performed.

To proceed, click the “Execute” button. This will open a confirmation window and perform the selected actions:
Merge compared files
•   Do not overwrite: If the destination folder already contains identical files, the files will not be copied.
•   Archive items: All deleted or overwritten items will be moved to the Trash. This allows you to easily revert any actions in case of a mistake.
Action errors
If errors occur while performing an action (when copying or moving files and folders), they are marked with appropriate icons in the "Action" column. Hover over the error icon to display the error message as a tooltip. Click the icon to open the target item folder:
Folder sync
Multiple folder comparison
Comparing Multiple Folders with DirEqual

DirEqual enables you to add multiple folders to the LEFT and/or RIGHT panels and compare them simultaneously.

In the example below, the user is comparing the "PR" and "Projects" folders across two different drives. The "PR" and "Projects" folders from the first drive are added to the LEFT panel, while the corresponding folders from the second drive are added to the RIGHT panel.

By clicking the "Start" button, DirEqual will compare all selected folders on both drives at once.
Legend
To add multiple folders to the LEFT or RIGHT side, hold down the Alt (Option) key while dragging folders from the Finder window:
Legend
You can also add several folders by clicking the "Open" button while holding down the Alt key:
Legend
Synchronization
Folder synchronization
Update Sync is a file synchronization in which newly added and newer files (by file modification date) will be copied.
The Update Sync can be one-way, where only orphan and newer files from the source directory are copied to the destination folder so that the destination folder contains the latest versions of files. Optionally, orphan files in the destination directory can be deleted.
In the two-way Update Sync, orphan and newer files are copied between the two folders in both directions to keep both locations identical and updated. Files are never deleted during two-way update synchronization.
Mirror Sync is a one-way sync in which newly added and modified files in the source directory will be synced to the target directory but no files are copied back to the source location. After the sync is complete, the files in the target directory will be exactly the same as the files in the source directory.
Files in the target directory that are inconsistent with those in the source directory will be deleted or overwritten.

Overview - Runs on the current comparison result. Selects items to copy (and delete, if enabled). When the Overview is ready, click the "Execute" button to sync the files.
Rescan - Recompares folders and selects items to copy (and delete).
Compare Files
To compare files, click the right button on the segment switch (2). You can also drag and drop two files to the header of the window. That will switch into file compare mode. Alternatively you can right click on a file in the folder compare result list and select "Compare Items" from the context menu.
Compare files allows to compare text or binary (non-text) files. The result of the comparison is displayed in the form of a listing with marked differences. Use arrow up / down to move between differences or use the minimap in the middle column to scroll compared files.
Compare text files
Comparison of text files.
Compare binary files
Comparison of binary files.
Red background - lines of text are different.
Blue background - a line of text exists only in one file.
White background - lines of text are the same.

Files type allows you to select a type of compared files (text or binary).
Font size allows to adjust font of the listing.
Folder Snapshots
DirEqual allows you to create a snapshot of a folder. A snapshot is a file that contains detailed information about the files inside a folder: filenames, subfolders, file sizes and dates, tags, and other attributes needed to compare folders. The snapshot can also contain the checksum of each file. This allows you to compare the contents of files. You can take a snapshot of a folder on one computer and compare it to a folder on another computer.
To create a folder snapshot, select "Create Folder Snapshot" from the DirEqual menu:
Create snapshot menu
After selecting the folder, the folder scan will start and the following window will be displayed:
Create snapshot log
If errors occur while scanning the folder, they will be displayed in this window. The most common problem with file access is the lack of "Full Disk Access" permission. See here for more details.
Once the snapshot is created, press "Save" to save the snapshot file.
To preview a folder snapshot, select "Open Folder Snapshot" and select the snapshot file you created.
Snapshot preview
Preview of an example folder snapshot
DirEqual Preferences
Preferences
Restore recently compared folders. After DirEqual starts, the previously compared file and folder paths will be restored. Disable this option if you are comparing remote items that may not be available the next time you run DirEqual.
Services
DirEqual uses macOS services to compare files selected from any Finder window. Select two files or two folders, then right click on the selection and select "Services" -> "Compare with DirEqual". This will run DirEqual and set the selected items to compare:
Services
Launching DirEqual from the Terminal
DirEqual can be launched from the Terminal using the following methods:

1. Using the "open" Command (Recommended)

The open command ensures proper macOS app management:

open -a "/Applications/DirEqual.app"


2. Running the Executable Directly

Alternatively, you can launch DirEqual by executing its binary file:

"/Applications/DirEqual.app/Contents/MacOS/DirEqual" &
Note: Running the executable directly may result in multiple instances of the application.


Passing Arguments to DirEqual


Launching a New Instance
To open a new instance of DirEqual, use the -n flag:

open -n -a "/Applications/DirEqual.app"

Starting a Comparison Automatically

To launch DirEqual and initiate a comparison between two directories, use the --args --start option:

open -a "/Applications/DirEqual.app" "/Users/naarak/Pictures/holiday-2025" "/Volumes/HDD/backup/holiday-2025" --args --start

Alternatively, when executing the binary directly, omit the --args:

"/Applications/DirEqual.app/Contents/MacOS/DirEqual" "/Users/naarak/Pictures/holiday-2025" "/Volumes/HDD/backup/holiday-2025" --start

Comparing Files

Provide file paths to compare the files:

open -a "/Applications/DirEqual.app" "/Users/naarak/Documents/mydoc1.txt" "/Users/naarak/Documents/mydoc2.txt" --args --start

Handling File or Folder Paths with Spaces

If the file or folder paths contain spaces, enclose them in quotation marks:

open -a "/Applications/DirEqual.app" "/Users/naarak/Pictures/holiday 2025" "/Volumes/HDD/backup/holiday 2025" --args --start
Files Access Problems
Reset DirEqual permissions
If you encounter that some files or folders are not accessible by DirEqual (the size is listed as zero B), try the following:

Reset DirEqual permissions:

1. Open "Terminal" (can be found by Spotlight)
2. Enter the following command (you can copy and paste it):
tccutil reset All com.naarak.DirEqual
and press Enter key.
3. Log out and log in again.
Add Full Disk Access:

1. Open "System Preferences"
2. Click "Security & Privacy"
3. Click "Privacy" tab
4. Select "Full Disk Access" on the left list
5. Unlock the panell by pressing the "lock" button
6. Click "plus" button and add DirEqual app from the Applications folder.
Full disk access
Manually reset all DirEqual settings
If for some reason DirEqual hangs on startup, try deleting all DirEqual settings. Deleting recently scanned folders often solves problems with accessing disconnected network drives.

To manually reset DirEqual settings:

1. Quit or Force Quit DirEqual

In the case of DirEqual downloaded from App Store:

2. Remove folder ~/Library/Containers/com.naarak.DirEqual

In the case of DirEqual downloaded from the website:

2. Remove file ~/Library/Preferences/com.naarak.DirEqual.plist

where "~" stands for your Home folder.

3. Open Terminal and enter the following command:
killall -u login_name cfprefsd
where login_name is your Mac login name, eg. john
The meaning of the symbols in DirEqual
Legend