User manual
Browse in one pane, choose a destination in the other. This guide covers everyday file management, settings, and connecting your favourite editor and terminal.
Shortcut key: Mod means Cmd on macOS and Ctrl on Windows/Linux. If your keyboard uses function keys for media controls, you may need Fn too.
Your first copy
- Open your source folder in the left pane. Double-click folders, or select one and press Enter.
- Open your destination folder in the right pane. Click the path field, enter a folder path, then press Enter.
- Click a source file in the left pane. For several files, mark each with Space or Mod+click.
- Press F5 or click F5 Copy. Check the target path, then confirm Copy.
Copy/move dialogs start with the other pane’s folder as the target. Check that path before confirming. Background operations show progress and cancellation controls.
Pane tour
Both panes have the same controls. Click inside a pane to make it active; Tab switches sides. The screenshot shows Brief view on the left and Detailed view on the right.
- Volumes and disk spaceThe top-left dropdown selects a mounted drive or volume. The top-right value shows free space for that pane’s filesystem by default; turn off Show free disk space in Settings to show used space instead.
- Navigation and pathHome opens your home folder; the up arrow goes to the parent. Enter a path in the field and press Enter. The
..row, Backspace, or Mod+↑ also goes up. - Favourite foldersThe star (or Mod+D) adds/removes the current folder. The adjacent dropdown (or Mod+Shift+D) opens saved favourites, shared between both panes; press a number key to open that entry.
- Brief or DetailedThe view button toggles this pane’s layout. Its icon shows the view you can switch to. Brief emphasises names; Detailed also shows size, modified date, and attributes. Use Mod+1 / 2 for the active pane.
- Sort headersClick Name, Size, or Date to sort; click again to reverse. The triangle shows direction. Sorting works in both views.
- Cursor versus marksClick sets the cursor; double-click or Enter opens. Marked names use a distinct colour (red here). Space/Insert or Mod+click toggles marks; Shift+click marks a range. Copy, move, and delete use marks, or the cursor item if none are marked.
- Status and selection totalsWithout marks, the bottom line describes the cursor item. With marks, it shows selected size and file/folder counts. Space also requests recursive folder size; large folders take time to count.
- Action barButtons act on the active pane, just like their F-keys. Use Edit, Copy, Move, MkDir, Delete, Terminal, or Quit. Copy/move default to the other pane’s folder.
Mod+U swaps panes; Mod+E opens the active folder in the other pane. Folder changes refresh automatically; Ctrl+R (also Cmd+R on macOS) reloads while preserving cursor and marks.
Move the cursor with the arrow keys, Home / End for the first or last item, and PageUp / PageDown one screen at a time. Holding Shift while moving marks the items the cursor passes over. Typing letters jumps to the first name that starts with them; Escape clears the typed text, and Backspace removes its last letter.
Each pane keeps its own folder history for the current session. Use Mod+← / → or your mouse’s back / forward buttons to navigate the active pane’s history.
Everyday file actions
| Action | Shortcut | How it works |
|---|---|---|
| Open | Enter / Mod+O | Enter a folder or supported archive; open other files with the OS-associated application. |
| Home folder | Mod+Shift+H | Open your home folder in the active pane. |
| Star folder | Mod+D | Add or remove the active pane’s folder from your favourites (Go → Star Folder). |
| Starred folders | Mod+Shift+D | Open the numbered favourites list for the active pane. Press 1–9 to open that folder, or Esc to close. |
| Compare files / folders | Mod+Alt+D / Mod+Alt+Shift+D | Compare the cursor files in both panes, or the two folder contents. Needs a comparison command set in Settings. |
| Edit | F4 | Open the cursor file in your configured external editor. No built-in editor. |
| New file | Shift+F4 | Enter a name; create and select the file. Press F4 afterwards to edit it. |
| Copy / move | F5 / F6 | Check the target in the dialog. If an existing file conflicts, review the overwrite choices. |
| Clipboard copy / cut / paste | Mod+C / X / V | Copy marked files, or the cursor item, and paste into the active folder. Copy/paste exchanges files with the OS file manager; cut stays within DualCommander. Focus a text field to use normal text clipboard shortcuts instead. |
| Create archive | Alt+F5 | Pack selected files and folders into a new archive in the other pane’s folder. See archive formats and password options. |
| Rename | F2 / Shift+F6 | Rename the cursor item, not all marks. F2 on .. selects the current path for editing. |
| New folder | F7 | Create a folder in the active pane. |
| Delete | F8 / Delete / Mod+Backspace | Review the confirmation. Uses Trash/Recycle Bin when enabled in Settings. |
| Mark / unmark all | Mod+A / Mod+Shift+A | Choose all items or clear the active pane’s marks. |
| Select group | Mod+G | Enter text to match in file names; a name matches when it contains the text. Matching ignores case by default; turn on Match case to distinguish case, or Regular expression to use Go regexp syntax. Existing marks are kept and .. is never marked. |
| Find files | Mod+F / Alt+F7 | Search by name or content from the active folder. Progress shows the current search path; cancel to stop the search. |
| Reveal | Mod+Shift+R | Show the selection in Finder, Explorer, or your file manager; use the current folder when nothing is selected. |
| Terminal | F9 | Open a terminal in the active folder, not the folder under the cursor. |
Right-click an item for Open, OS-specific Open With / Get Info or Properties, reveal, and copy path. The application Menu key also opens the cursor item’s context menu.
Deletion safety: Keep “Move deleted files to Trash” enabled unless you intend permanent deletion. With it disabled, delete removes files permanently rather than sending them to Trash/Recycle Bin.
Settings tour
Open Settings with Mod+, or the application menu (DualCommander on macOS; File on Windows/Linux). Changes save automatically; there is no Save button. Invalid command lists are not saved. The User manual link at the top of the dialog opens this section in your browser.
- AppearanceTheme follows the system or uses light/dark. Density chooses standard or compact file rows. Font size (XXS to XXL, default S) adjusts file-list text; use larger text for readability or compact rows to fit more files.
- File viewsChoose Brief/Detailed separately for left and right. Show hidden files affects both panes; Mod+Shift+. toggles it while browsing. Show free disk space switches the volume indicator between free and used space.
- File deletionMove deleted files to Trash is enabled by default. Disabling it makes deletion permanent.
- ArchivesBrowse archives in DualCommander opens supported archives like folders. Turn it off to use the OS-associated application instead. Browsing does not enable archive editing.
- External applicationsOverride Show in file manager, Open folder in terminal, and Edit file (F4); leave these fields blank to restore their OS defaults. Compare files uses the cursor file in each pane; Compare folder contents uses the current pane folders. Both comparison fields require a configured tool, such as
["meld", "{left}", "{right}"]; blank disables comparison. This example requires Meld on DualCommander’sPATH; if it works only in Terminal, use its absolute executable path as described in Troubleshooting external commands. Configure your tool’s flags for recursive folder-content comparison. See the command rules and examples below.
Language: choose System or one of 30 interface languages in Settings, then restart DualCommander. Fyne’s built-in controls still follow the OS locale. The screenshot above may not show newer settings.
Custom command rules
Paste a complete JSON list into the relevant Settings field: executable first, then one string per argument. Do not paste a shell command line.
["code", "--wait", "{path}"]
{path}becomes the selected item’s full path. For F4, it is the file to edit.{dir}becomes the active pane’s folder. Commands also start with that working directory.- For comparison commands,
{left}and{right}become the cursor files or current folders in the left and right panes. Use both placeholders; comparison has no OS default. - Keep each path as one argument; spaces are preserved. JSON strings need double quotes, and Windows backslashes must be doubled.
- No shell is used:
~,$HOME,%LOCALAPPDATA%, pipes, and redirects do not expand. Use an actual absolute executable path if the command is not on the app’sPATH.
Use trusted programs only. Custom commands launch local software with your user permissions. JSON validation checks syntax, not whether a program exists or whether its arguments are safe.
Use an alternative editor
- Install your editor, then open Settings → External applications → Edit file (F4).
- Paste one command below, adapting executable paths to your installation.
- Close Settings, select a regular text file, then press F4. Save in the external editor as usual.
Enter still uses the file’s OS association; changing F4 does not change that association. Leave the field blank for macOS’s default text editor, Windows Notepad, or Linux’s xdg-open association.
macOS — Visual Studio Code
If code is on the app’s PATH, use the command above. VS Code’s Command Palette offers Shell Command: Install 'code' command in PATH. Apps launched from Finder may have a different PATH than your shell. With VS Code installed in Applications, use its executable directly:
["/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code", "--wait", "{path}"]
Or launch the app by its registered name, without relying on code:
["open", "-a", "Visual Studio Code", "{path}"]
Windows — Visual Studio Code or Notepad++
Use the actual Code.exe location. This example is a per-user VS Code installation; replace Alice with your Windows account directory. Use the executable rather than the code.cmd shell wrapper.
["C:\\Users\\Alice\\AppData\\Local\\Programs\\Microsoft VS Code\\Code.exe", "--wait", "{path}"]
["C:\\Program Files\\Notepad++\\notepad++.exe", "{path}"]
Linux — Visual Studio Code or Kate
These commands require the editor’s launcher on PATH. If needed, replace the first string with its installed absolute path.
["code", "--wait", "{path}"]
["kate", "{path}"]
--wait tells VS Code’s launcher to wait for the file to close; DualCommander launches it asynchronously, so browsing stays available. Other editors use their own flags.
Open in terminal
Set Settings → External applications → Open folder in terminal. Activate a normal filesystem folder, then press F9 or click F9 Terminal. The command uses that pane’s folder, regardless of the cursor item.
macOS — iTerm
With iTerm installed, paste:
["open", "-na", "ITerm", "{dir}"]
open launches the named app; -n requests a new instance and -a chooses the application. If your installation is not found by name, use its actual app bundle path:
["open", "-na", "/Applications/iTerm.app", "{dir}"]
For Apple Terminal (also the blank-field default):
["open", "-a", "Terminal", "{dir}"]
Windows — Windows Terminal or PowerShell
Windows Terminal needs wt.exe available through PATH / its app execution alias. -d chooses the starting folder:
["wt.exe", "-d", "{dir}"]
PowerShell inherits the active folder as its working directory. This is the blank-field default:
["powershell.exe", "-NoExit"]
Linux — GNOME Terminal, Konsole, or kitty
Choose an installed terminal. Explicit directory flags also work when a terminal reuses an existing process:
["gnome-terminal", "--working-directory={dir}"]
["konsole", "--workdir", "{dir}"]
["kitty", "--directory", "{dir}"]
Leaving the field blank auto-detects an installed terminal, starting with x-terminal-emulator. If launch fails or opens the wrong folder, choose an explicit command supported by your terminal version.
Troubleshooting external commands
- Invalid list: use double quotes, no trailing comma, and one JSON string per argument.
- Executable not found: install the app or supply its full path. A launcher working in your shell may not be on DualCommander’s PATH.
- Wrong folder: check which pane is active and whether the terminal accepts the directory flag. Custom startup profiles can override the starting folder.
- Restore defaults: clear the entire field. Reveal, terminal, and editor fields use the OS default; comparison fields become disabled. No restart is needed.
macOS: command works in Terminal, but not in DualCommander. Apps launched from Finder or the Dock do not necessarily inherit your shell’s PATH or shell startup files. An error such as exec: "meld": executable file not found in $PATH can occur even when Meld is installed and works in Terminal. This also applies to Homebrew-installed editors, terminals, and other comparison tools.
In Terminal, find the executable:
command -v meld
Copy the absolute path returned, then replace only the first string in the comparison command. For example, if the result is /opt/homebrew/bin/meld, paste this into Compare files or Compare folder contents:
["/opt/homebrew/bin/meld", "{left}", "{right}"]
Homebrew commonly uses /opt/homebrew/bin/meld on Apple Silicon and /usr/local/bin/meld on Intel Macs, but use your actual result, not an assumed location. If command -v returns nothing, install the tool or locate its executable first. If it reports a shell alias or function, use the actual executable instead. Do not paste command -v meld, $(command -v meld), ~, or $HOME into the JSON command: DualCommander does not run a shell or expand them. Changes save automatically; retry comparison without restarting.
Browse, extract, and create archives
Browse
With archive browsing enabled, Enter or double-click opens ZIP/ZIPX, TAR, 7z, RAR, compressed TAR, and supported single-file compression formats such as gzip, bzip2, XZ, LZMA, and Zstandard. CPIO (newc/CRC), RPM CPIO payloads, and DEB data payloads can also be browsed without launching an installer. ZIPX supports Store, Deflate, BZip2, LZMA, XZ, and Zstandard; other codecs report unsupported compression. Password-protected ZIP, 7z, and RAR are supported.
Existing archives are read-only. Moving, deleting, renaming, or copying files into an archive is not supported. Nested archives are not browsed in-pane. Opening a member creates a temporary copy (up to 256 MiB), removed on exit. Editing that copy does not update the archive.
Extract selected items
Open the archive in one pane and a normal destination folder in the other. Mark the archive files or folders you want, then press F5. Check the destination and confirm Copy. Extraction runs in the background with progress, cancellation, and the usual overwrite choices. Password-protected contents prompt when needed.
Create a new archive
Select files or folders in a normal filesystem pane and open the destination folder in the other pane. Choose File → Create Archive… or press Alt+F5. Enter a name and choose ZIP, TAR, TAR.GZ, TAR.BZ2, TAR.XZ, or TAR.ZST, then confirm Create. Both panes must be outside archives.
ZIP optionally supports a password with confirmation, using AES-256. File names remain visible, and some archive tools cannot open encrypted ZIP files. Other creation formats do not support passwords. Existing files are never replaced; choose a new name. Creation runs in the background, and cancellation or failure removes its partial archive.
Archive creation rejects symbolic links and special files. Choose a destination outside any selected folder.
Multi-Rename templates
Mark files or folders, then choose File → Multi-Rename… (Alt + F6). Without marks, the current cursor item is used. Only those items are renamed: folder contents are never traversed.
- Match templateChoose which names match and capture the parts to reuse. Here,
{name}.{ext}captures the name and extension. Matching is case-sensitive and covers the whole name. - Name templateBuild the new name from captures, literal text, helpers, and numbering. Here,
{{.name}}_{{index 3}}.{{.ext}}adds_001,_002, and_003before the extension. - PreviewCompare Original and New name before applying. Preview updates as you type; unchanged and nonmatching items are identified, and invalid names or conflicts block Rename.
- Selected itemsCounts show the files and folders included when the dialog opened. Numbering follows matching selected items in pane order, not the order you marked them.
- Rename and CancelRename applies the valid preview. Cancel or Esc closes the dialog without renaming anything.
- Help and user manualThe information icon shows syntax hints and examples. User manual opens this section in your browser.
Template examples
Match template matches the whole name, case-sensitive. Literal characters match themselves; {name} captures text (including empty text). Capture names use letters, digits, or underscores, cannot start with a digit, and must be unique. Captures take the shortest text that allows the remaining pattern to match. Thus {name}.{ext} splits at the first dot, not necessarily the last dot. Anonymous captures {} receive names C0, C1, and so on, numbered by capture position starting at zero, including named captures.
Name template uses a restricted subset of Go's official text/template syntax: literal text, capture fields such as {{.name}}, the six case helpers below, and sequential numbering. The dot is required for captures. Values are inserted literally, without HTML escaping. Unknown captures are errors. Loops, conditionals, variables, template definitions, other functions, pipelines, nested calls, and nested fields are not supported. The match syntax is specific to DualCommander; it is not Go template syntax or a user-supplied regular expression.
| Operation | Match template | Name template | Example |
|---|---|---|---|
| Keep name (default) | {name}.{ext} | {{.name}}.{{.ext}} | photo.jpg → photo.jpg |
| Change extension | {name}.jpg | {{.name}}.png | photo.jpg → photo.png |
| Add prefix and suffix | {name}.{ext} | backup_{{.name}}_old.{{.ext}} | photo.jpg → backup_photo_old.jpg |
| Reorder parts | {first}-{last}.{ext} | {{.last}}-{{.first}}.{{.ext}} | one-two.jpg → two-one.jpg |
| Anonymous captures | {}-{}.jpg | {{.C1}}-{{.C0}}.png | one-two.jpg → two-one.png |
| Names without extension | {name} | backup_{{.name}} | LICENSE → backup_LICENSE |
| Literal extension case change | {name}.jpg | {{.name}}.JPG | photo.jpg → photo.JPG |
Sequential numbering
Numbering belongs in the name template, not a checkbox. Use {{index}} for a counter starting at 1, or {{index 3}} for at least three digits. Each row below starts a fresh preview; examples show the first two matching selected items in pane order.
| Operation | Match template | Name template | Example |
|---|---|---|---|
| Unpadded suffix | {name}.{ext} | {{.name}}_{{index}}.{{.ext}} | photo.jpg → photo_1.jpgportrait.jpg → portrait_2.jpg |
| Three-digit suffix (screenshot) | {name}.{ext} | {{.name}}_{{index 3}}.{{.ext}} | photo.jpg → photo_001.jpgportrait.jpg → portrait_002.jpg |
| Two-digit prefix | {name}.{ext} | {{index 2}}_{{.name}}.{{.ext}} | photo.jpg → 01_photo.jpgportrait.jpg → 02_portrait.jpg |
| Replace name with counter | {name}.jpeg | {{index 2}}.jpeg | photo.jpeg → 01.jpegportrait.jpeg → 02.jpeg |
| Folders or extensionless names | {name} | {{.name}}_{{index 3}} | Documents → Documents_001LICENSE → LICENSE_002 |
Match templates do not use wildcards: use {name}.jpeg, not *.jpeg.
Numbering follows the current pane order of matching selected files and folders. Nonmatching items do not consume a number; matching items do, even if their resulting name is unchanged. Each preview restarts at 1, so typing or recalculating never advances a persistent counter. Review the preview before Rename. No start, step, or numbering settings are needed.
index takes no arguments or one literal digit from 1 through 9 for zero-padding width. Width is a minimum: 100 stays 100 with {{index 2}}. Repeated calls within one name use the same number, not successive numbers. For folders and extensionless names, match {name} and use {{.name}}_{{index 3}}; only the template decides where numbering goes.
Existing patterns {{.Index}} and {{printf "%02d" .Index}} also work. Index is reserved and cannot name a capture. The only supported printf call is a literal zero-padding format from "%01d" through "%09d", applied to .Index. Other formatting, arithmetic, custom starts/steps, arguments to index that are not literal digits, and case helpers on .Index are not supported. See Go's formatting documentation for decimal zero-padding semantics.
Case conversion helpers
Six helpers are registered through Go's Funcs. Each accepts exactly one captured field, for example {{upper .name}}. Helpers cannot be nested or piped. With match template {name}.{ext}:
| Operation | Name template | Example |
|---|---|---|
| Uppercase name, lowercase extension | {{upper .name}}.{{lower .ext}} | photo.JPG → PHOTO.jpg |
| Lowercase name and extension | {{lower .name}}.{{lower .ext}} | PHOTO.JPG → photo.jpg |
| kebab-case | {{kebab .name}}.{{lower .ext}} | CaaZaa.JPG → caa-zaa.jpg |
| snake_case | {{snake .name}}.{{.ext}} | HTTPServer.jpg → http_server.jpg |
| camelCase | {{camel .name}}.{{.ext}} | caa_zaa.jpg → caaZaa.jpg |
| PascalCase | {{pascal .name}}.{{.ext}} | caa-zaa.jpg → CaaZaa.jpg |
upper and lower use Go's Unicode-aware strings.ToUpper and strings.ToLower: été.JPG → ÉTÉ.jpg with the first template above. These are locale-independent, not language-specific casing rules or transliteration.
The other four helpers use xstrings word boundaries. For snake, examples include HTTPServer → http_server, Version2ID → version2_id, ÉtéPhoto → été_photo, and hello world-test → hello_world_test. Digits, acronyms, repeated separators, and punctuation follow the library's rules, not a configurable dictionary. Do not assume punctuation or repeated separators will be removed. Review the preview, especially for dotfiles; use {name} to capture an entire extensionless name.
Unsupported examples: {{upper}} (missing capture), {{upper .missing}} (unknown capture), {{upper "text"}} (not a capture), {{upper (lower .name)}} (nested call), and {{.name | upper}} (pipeline). Conversion may make distinct names collide; conflicts block Rename. Renaming an extension does not convert file contents.
The preview updates automatically after valid edits. Review Original and New name, then click Rename. Editing invalidates the previous preview. Nonmatching names remain unchanged without a suffix; matching identity results show Unchanged. Counts describe the selected items, not the number of changes. Invalid syntax, invalid filenames, and destination conflicts appear in the dialog and prevent renaming. Nothing changes on disk until Rename is clicked; Cancel, Escape, and closing the dialog cancel pending preview work.
Saved settings and sharing configuration
DualCommander stores configuration under ~/.dualcommander/ in your home folder (on Windows, normally C:\Users\YourName\.dualcommander\):
settings.json: appearance, language, pane views, hidden files, disk-space display, deletion/archive behaviour, and external commands.state.json: pane paths, active pane, divider position, sorting, and window size. Folder history is not saved.favourites.json: shared starred folder paths.
Use the dialog for routine changes. Close DualCommander before editing these files by hand; manual changes load on the next start. Invalid JSON or wrong value types stop startup without overwriting the file.
~/.dualcommander/
├── settings.json Appearance, behaviour, and external apps; share this first
├── favourites.json Starred folders; adapt paths on each machine
└── state.json Last session; usually keep local
settings.json example
This sample uses OS-default reveal, terminal, and editor apps, with comparison disabled. A command is stored as a string containing a JSON argument list, not as an array. For example, VS Code is "editorCommand": "[\"code\",\"--wait\",\"{path}\"]". Use the commands from the editor and terminal sections above, escaping their double quotes when placing them inside this file.
{
"appearance": { "theme": "system", "density": "standard", "fontSize": "S" },
"views": {
"left": { "brief": true },
"right": { "brief": false },
"showHidden": false
},
"deletion": { "moveToTrash": true },
"archives": { "browse": true },
"externalApplications": {
"revealCommand": "",
"terminalCommand": "",
"editorCommand": "",
"compareFilesCommand": "",
"compareFoldersCommand": ""
}
}
favourites.json example
A plain array of absolute folder paths. Replace these sample paths with folders that exist on your machine. For Windows, use escaped backslashes such as "C:\\Users\\Alex\\Documents". An empty list is [].
[
"/Users/alex/Documents",
"/Users/alex/Projects"
]
state.json example
Session state is separate from reusable settings. This minimal example restores the active pane, folders, and window size; sorting is also saved here by the app. Keep the app-generated sort values when copying a real session.
{
"pane": {
"active": "left",
"left": { "path": "/Users/alex/Documents" },
"right": { "path": "/Users/alex/Downloads" }
},
"window": { "width": 1100, "height": 700 }
}
Move configuration to another machine
- Quit DualCommander on both machines so pending changes are saved and copied files cannot be overwritten by a running instance.
- Back up the destination’s
.dualcommanderfolder before replacing anything. - Create
.dualcommanderinside the destination user’s home folder if needed. Copysettings.jsonthere to share appearance and behaviour. Copyfavourites.jsononly if you also want the starred folders. - Normally leave the destination’s
state.jsonalone. Copy it only to transfer the last session, then change pane paths for the destination machine. - Update favourites and external commands for the destination OS, username, installed apps, and executable paths. Blank reveal, terminal, and editor commands use OS defaults; blank comparison commands disable comparison. macOS commands such as
openwill not work on Windows or Linux. - Start DualCommander and check both panes, favourites, editor, and terminal. If a config error prevents startup, fix the reported file or restore its backup while the app is closed.
Sync tip: distribute a copy of settings.json with your dotfiles or a private sync folder; install it while DualCommander is closed. There is no live reload or multi-process merge. Avoid simultaneous writes from multiple machines, and keep machine-specific state.json out of shared sync. Review paths and commands before publishing configuration: they can reveal usernames and private folder names.
Found a bug or have an idea? Report a bug or request a feature on GitHub. Search existing issues first, then choose the appropriate form.


