XCommander documentation
Everything XCommander can do, section by section. Keys are given for the default Total Commander key set; the Keyboard section lists both sets.
Installation
XCommander needs macOS 15 Sequoia or later and runs natively on Apple silicon and Intel Macs.
- Download XCommander. Safari unpacks the archive by itself; otherwise double-click
XCommander.zipin Downloads. - Drag XCommander to the Applications folder.
- Open it from Applications or Launchpad.
If macOS says it cannot verify the app. Click Done, open System Settings › Privacy & Security, scroll down to the message about XCommander and click Open Anyway, then confirm. You need to do this only once.
Updates
XCommander checks for new versions automatically and asks before installing one. Turn automatic checks off in Settings › General; check by hand with XCommander › Check for Updates…. Every update is signed, and its signature is verified before it is unpacked.
The main window
- Two panels. Each panel shows a folder; the active one is highlighted. Tab switches panels. Most commands act on the active panel and use the other panel as the destination.
- Tabs. Each panel has its own tabs: ⌘T opens one, ⌘W closes it, ⌃Tab and ⌃⇧Tab switch, ⌘1…⌘9 jump to a tab. Drag a tab to reorder it or into the other panel.
- Panel header. Back, Forward and Refresh buttons and breadcrumbs of the path — click any part to go there, drop files on it to copy them there.
- Sidebar. Favorites, Cloud and Locations, as in Finder: volumes with their size and an eject button, saved servers, Network and the Trash. ⌥F1 and ⌥F2 open the same places as a menu for the left or right panel.
- Toolbar. Customize it like Finder's: View › Customize Toolbar… or right-click the toolbar.
- Function key bar. Buttons for F2–F8 at the bottom; their labels follow the current key set.
- Command line under the panels and the job bar with the progress of background operations.
The Go menu has Home, Desktop, Documents, Downloads, Applications, Utilities, iCloud Drive, Computer and Network. ⌘= opens the same folder in the other panel, ⌘U swaps the panels, ⇧⌘. shows hidden files.
Keyboard
XCommander comes with two key sets, chosen in Settings › Keyboard:
- Total Commander (the default) — for those coming from Windows: ↩ opens, F2 refreshes, ⇧F6 renames; Ctrl shortcuts of Total Commander work with ⌘ in menus and also with ⌃ in the file list.
- macOS — like Finder: ↩ renames, ⌘↓ and ⌘O open, Space shows Quick Look. Where Finder has no standard key, the F-keys and XCommander's own keys are used.
To change a key, edit a set: XCommander makes your own copy of it, and any command can get several shortcuts. ⌘C ⌘X ⌘V ⌥⌘V ⌘A ⌘W ⌘Q and Esc cannot be reassigned. Menus, the function key bar and tooltips always show the current keys.
| Command | Total Commander | macOS |
|---|---|---|
| Open | ↩ | ⌘↓ ⌘O |
| Enclosing folder | ⌫ ⌃PgUp ⌘↑ | ⌘↑ ⌫ |
| Back / Forward | ⌥← ⌥→, ⌘[ ⌘] | ⌘[ ⌘] |
| Other panel | Tab | Tab |
| Quick Look | F3 ⌘Y | ⌘Y Space F3 |
| Preview in other panel | ⌃Q ⇧⌘P | ⇧⌘P |
| Edit file / New file | F4 / ⇧F4 | F4 / ⇧F4 |
| Copy / Move | F5 / F6 | F5 / F6 |
| Rename | ⇧F6 | ↩ F2 |
| Multi-Rename | ⌃M | ⌃M |
| New folder | F7 ⇧⌘N | ⇧⌘N F7 |
| Move to Trash | F8 ⌦ ⌘⌫ | ⌘⌫ F8 |
| Delete immediately | ⇧F8 ⇧⌦ | ⌥⌘⌫ ⌘F8 |
| Refresh | F2 ⌘R | ⌘R |
| Find files | ⌥F7 ⌘F | ⌘F ⌥F7 |
| Calculate folder size | Space ⌃L | — |
| Mark file | Ins ⇧↓ ⇧↑ | Ins ⇧↓ ⇧↑ |
| Select / deselect group | Num+ / Num− | ⌘+ / ⌘− |
| Invert selection | Num* ⇧⌘I | Num* |
| Compare directories | ⇧F2 | ⇧F2 |
| Pack / Unpack / Test | ⌥F5 / ⌥F9 / ⌥⇧F9 | ⌥F5 / ⌥F9 / ⌥⇧F9 |
| Open any file as archive | ⌃PgDn | ⌃PgDn |
| Terminal | ⌃O | ⌃O |
| Command line | ⌘L → | ⌘L → |
| Go to Folder | ⇧⌘G | ⇧⌘G |
| Connect to Server / Network | ⌘K ⌃N / ⇧⌘K | ⌘K / ⇧⌘K |
| Root folder | ⌃\ | — |
| Swap panels | ⌘U ⌃U | ⌘U |
| Quit | ⌘Q ⌥F4 | ⌘Q |
Sorting: ⌃⌥⌘1…⌃⌥⌘9 as in Finder's View › Sort By (name, kind, last opened, added, modified, size, extension, created, permissions); pressing the same key again reverses the order. The Total Commander set also has ⌃F3–⌃F6 — they work once you turn off the macOS shortcuts for ⌃F1–⌃F8 in System Settings › Keyboard › Keyboard Shortcuts.
Working with files
Copy and move
F5 copies and F6 moves the marked items — or the one under the cursor — to the folder of the other panel. Before starting, XCommander shows the destination path: you can change it, type a relative path, or, for a single item, a new name. Folders that do not exist yet are created.
Operations run in the background. You can keep working, start more operations — they queue up — and pause, resume or cancel them in the job bar. When a file already exists, XCommander asks whether to replace it, skip it (or all such files), keep both or rename it. When macOS denies access, the question also offers As Administrator…
Create, rename, delete
- F7 creates a folder, ⇧F4 creates a file and opens it in the editor.
- ⇧F6 renames in place. With several items marked, rename opens Multi-Rename.
- F8 moves to the Trash, ⇧F8 deletes immediately. On servers and inside archives there is no Trash, so deletion is immediate.
- F4 opens the file in the editor chosen in Settings › General. Files in archives and on servers are edited as temporary copies and put back when you save.
Clipboard and drag and drop
⌘C and ⌘V copy files just like in Finder, also between XCommander and Finder; ⌘X then ⌘V, or ⌘C then ⌥⌘V, moves them. Dropping files on a panel, a tab, a breadcrumb or a sidebar place opens the copy dialog with that destination:
| Hold while dropping | Action |
|---|---|
| nothing or ⌥ | Copy |
| ⌘ | Move |
| ⌥⌘ | Make aliases |
| ⌃⌥⌘ | Make symbolic links |
Drop on a folder row to put files into that folder. You can drag files out to Finder and other apps, and files from archives and servers too — they are copied out when the other app asks for them. Photos dropped from Photos or attachments from Mail land in the copy dialog as well.
Aliases and links
Finder aliases behave like Total Commander shortcuts: ↩, Quick Look and F4 go to the original, while copy, move and delete work with the alias itself. ⌃⌘A makes aliases and ⌃⇧⌘A symbolic links; ⌥⌘R shows the original of an alias or a link.
More
- ⌘I — Get Info, as in Finder; File › Permissions… changes permissions on disk and on FTP and SFTP servers. In S3 storage both open the object properties: access (ACL), headers such as Content-Type and Cache-Control, user metadata and tags — for one object, many, or everything in a folder; only what you change is applied.
- ⇧⌘R — Show in Finder.
- ⇧⌘G — Go to Folder, with history,
~, paths relative to the panel's folder and Tab completion. A path to a file opens its folder with the cursor on it; a path to an archive opens the archive. - Files dropped on the XCommander icon in the Dock, or opened with XCommander from Finder, are shown in a panel the same way.
Selecting files
Marked files are what F-key commands act on; without marks they act on the file under the cursor.
- Ins, ⇧↓ and ⇧↑ mark files one by one.
- Num+ (⌘+) marks by mask, Num− (⌘−) unmarks by mask. Masks remember their history; several are separated with
;, and exclusions go after|:*.jpg;*.png | thumb*. - ⌘A selects all, ⌥⌘A deselects all, Num* or ⇧⌘I inverts.
- ⌥Num+ and ⌥Num− select or deselect files with the same extension as the one under the cursor.
- Num/ restores the selection that was last cleared.
- ⇧F2 — Compare Directories: marks, in both panels, the files missing on the other side and the newer ones.
The Selection menu also copies names, full paths (⌥⌘C) or a list with the panel's columns as text. ⌥↩ and ⌥⇧↩ insert names or paths into the command line.
Viewing files
F3 opens Quick Look for the file under the cursor — on disk, inside archives and on servers (a temporary copy is downloaded). ⌃Q turns the other panel into a preview that follows the cursor: text, images, PDFs and everything Quick Look can show.
Space (Total Commander set) or File › Calculate Folder Size shows how much space a folder takes.
Archives
Archives open like folders with ↩: ZIP, 7z, RAR, tar and its compressed variants (tar.gz, tar.bz2, tar.xz…), single .gz/.bz2/.xz files, ISO, CAB, CPIO, XAR, LHA and comic book archives (CBZ, CBR, CB7, CBT). Multi-volume sets (.part1.rar, .7z.001, .z01) and archives inside archives work too. ⌃PgDn opens any file as an archive, whatever its extension — useful for .docx, .jar or .apk.
- Browse and extract. Copy files out with F5, view them with F3, search inside with ⌥F7.
- Edit. In ZIP, 7z and tar archives you can add (F5, F6), delete (F8), rename (⇧F6), create folders (F7) and edit files (F4). XCommander writes a new archive next to the old one and replaces it only when everything succeeded. RAR, ISO and other formats are read-only.
- Pack — ⌥F5: ZIP (optionally with a password, AES-256), 7z, tar, tar.gz, tar.bz2 or tar.xz. Mac metadata (tags, extended attributes) can be kept inside, the way Finder and bsdtar do it.
- Unpack — ⌥F9 extracts the marked archives whole, without entering them; ⌥⇧F9 tests them.
- Passwords. Encrypted ZIP (ZipCrypto and AES) and RAR archives ask for the password once and remember it until you quit.
Reading a large archive can be stopped with Esc or ⌘..
Finding files
⌥F7 opens the Find Files window. It stays open while you work and searches in the folder of the active panel — on disk, in archives and on servers.
- Name. A mask such as
*.txt;*.md | .git/(a word alone matches part of the name; a folder after|is not searched) or a regular expression. - Text. Case sensitive, whole words, regular expressions or hex; files not containing the text. Encodings: UTF-8, UTF-16 and the ANSI and DOS code pages of your system language.
- More options: dates, size, subfolder depth, files or folders only, inside archives, or through the Spotlight index — instantly, including the text of PDF and Office documents, but only in indexed files.
- Results. Go to the file in a panel, view it with F3, drag it out, rename the found files with ⌃M, search again within the results, or save the list of paths to a file.
- Templates save a set of conditions for later; built-in ones find files by kind: text, PDF, audio, video, books and Microsoft Office documents.
Files in iCloud and other clouds that are not downloaded are found by name, but their content is not read. On servers, the search goes by name and properties only — files are not downloaded just to look inside.
Multi-Rename
⌃M (or rename with several files marked) opens the Multi-Rename window for the marked files — or for found files from the search window. Every new name is shown in the preview before anything changes; conflicts and invalid names are highlighted and block the run. The last run can be undone until you quit.
The name and extension are built from masks:
| Placeholder | Meaning |
|---|---|
[N] [E] [A] | Old name without extension, extension, full name |
[P] [G] | Name of the parent folder and of the folder above it |
[N2-5] [N2,5] [N2-] [N-3-] | Characters 2 to 5; 5 characters from the 2nd; from the 2nd to the end; the last three |
[C] [C10+5:3] | Counter; starting at 10, step 5, three digits |
[Y] [M] [D] [h] [m] [s] | Year, month, day, hours, minutes, seconds — of the modification, creation or capture date |
[d] [t] | Date and time in your system format |
[U] [L] [F] [n] | From here on: UPPERCASE, lowercase, Each Word, unchanged |
[=exif.date] [=audio.track:2] | File metadata: EXIF date, camera, lens, ISO; image and video size; artist, album, title, track and year of music; duration; PDF title, author and pages |
Then search and replace (several pairs separated with |, regular expressions with $1, first match only, in the extension too) and a case change apply. You can also edit names by hand, paste a whole list of names or load it from a text file, reorder files by column or by dragging, and save the rules as a template.
Metadata is read only for files on disk; while it is being read, renaming waits. Multi-Rename works everywhere renaming does: on disk, in archives and on servers.
Synchronizing folders
File › Synchronize Folders… compares two folders — by default those of the left and right panels — and brings them in line. Any combination of disk, archive and server works, except archive with archive and archive with server.
- Options: subfolders, compare by content, ignore dates, asymmetric (the right side becomes a mirror of the left), hidden files, a file mask, date tolerance in seconds and ignoring a difference of exactly one hour.
- Result: each pair shows its state and the proposed action — copy to the left or right, delete, or leave as is. Change actions per row, filter the rows with the buttons above the list, sort by any column. ⌘S saves the differences as text.
- Synchronize runs everything as one background job. Before it starts, you see the totals and can approve replacing files in advance.
- Compare files in an external tool: FileMerge, Kaleidoscope, BBEdit, Beyond Compare, VS Code or Zed — chosen in Settings › General.
- Templates keep pairs of folders with their options.
Dates are compared with the precision each side has (FTP listings, for example, may only know minutes). S3 cannot set a file's date, so XCommander stores the original date in the object's metadata and uses it when comparing.
Checksums
File › Calculate Checksums… computes CRC32, MD5, SHA-1, SHA-256 and SHA-512 — any combination, in a single pass — for the marked files and the files inside marked folders. It works on disk, in archives and on servers. The results window copies sums as plain values, shasum or SFV lines, or a table, and compares them with a checksum you paste into the Compare with field.
Remote connections
⌘K — Go › Connect to Server… — opens a form with a name, the protocol, server (with a history of previous connections; pasting a full address fills the fields), port, folder, user name and password. The name is optional: give a server one, and that's how it appears in Network and the sidebar. Leave the password empty to be asked when connecting, or tick the box to keep it in the Keychain. FTP and S3 have more options under Advanced. Servers you connected to stay under Locations in the sidebar and in Network (⇧⌘K); right-click one for Server Settings… — the same form, to fix the address, user or anything else — or Forget Server.
On SFTP, FTP and S3 servers everything works as on disk: F5/F6 in both directions and between two servers, F7, F8 (immediately — there is no Trash), rename and multi-rename, F4 with automatic upload, Quick Look, ⌥F7 by name, checksums, synchronization and the clipboard.
SMB
Network shows SMB servers found with Bonjour, servers of connected volumes and those you added with ⌘K. Open a server to see its shared folders; open a folder to mount it and go there. Sign in as a guest or with a name and password; passwords Finder has saved in the Keychain are used as well.
SFTP
XCommander uses the system ssh, so everything you have set up for Terminal works: hosts and aliases from ~/.ssh/config, ProxyJump, keys, ssh-agent and known_hosts. A key file chosen in the ⌘K form is remembered for that server. Whatever ssh asks — a password, a key passphrase, accepting an unknown host key, a one-time code — appears in a sheet in the main window. The user name is part of the server: root@prod and deploy@prod are different servers.
Connecting opens your home folder; you can go up all the way to /. Copies within one server run on the server itself. Broken transfers resume from where they stopped.
FTP and FTPS
Choose FTP or FTPS in the form. Without a user name the connection is anonymous. Advanced in the form sets the encoding of file names (for old servers that do not use UTF-8), TLS and the time zone of the server's listings. Interrupted transfers are retried up to three times from where they stopped.
Amazon S3 and compatible storage
Choose S3 (or S3 over HTTP) in the form; presets for Cloudflare R2, Backblaze B2, MinIO, Wasabi, DigitalOcean Spaces, Yandex Cloud, Selectel, VK Cloud and others fill in the address. The region is detected from the address or the server's reply. Give the storage a name — AWS has one address for all accounts. Sign in with an access key ID and secret, anonymously, or with a profile from ~/.aws: static keys, credential_process, roles with MFA, and IAM Identity Center (run aws sso login once; when the session expires, a button in the tab puts the command into the command line for you).
- Folders are shared key prefixes; F7 creates an empty folder marker. At the root you see your buckets (or the bucket from the settings), and F7 there creates a bucket.
- Big folders are read in portions of 10,000 objects (adjustable): a “More…” row reads the next portion, View › Read Whole Folder reads everything. View › Filter by Name Start… (⌥⌘F) asks the server only for names with a given beginning.
- Large files are uploaded in parts. Renaming and moving copy the object on the server and delete the old one. Original modification dates are kept in the object's metadata, compatible with rclone.
- File › Permissions… and ⌘I open the object properties: the access control list (a table of grantees with permission checkboxes, or a preset such as “Everyone can read”), headers — Content-Type, Cache-Control, Content-Disposition and others — and your own
x-amz-meta-metadata, and up to 10 tags. Storage class, encryption and ETag are shown too. Select several objects or a folder, and only the fields you change are applied to each object. Headers are changed by copying the object onto itself, keeping its storage class, encryption, ACL and tags. If ACLs are disabled for the bucket or the storage doesn't support them, the tab says so.
WebDAV and NFS
Connect from the same form. The volume is mounted by macOS, appears under Network as “server (WebDAV)” or “server (NFS)”, and going up from it leads back to Network.
Volumes in the sidebar have an eject button. When a volume is disconnected, tabs on it move to a safe place instead of showing an error.
iCloud Drive and clouds
The Cloud section of the sidebar shows iCloud Drive and storage from other companies that use File Provider: Google Drive, OneDrive, Dropbox and others. iCloud Drive looks the way it does in Finder: your files together with the folders of your apps, under their real names. Files in Favorites that are stored in iCloud are marked with a cloud.
Terminal and command line
⌃O hides the panels and shows your shell beneath them, as in Far and Midnight Commander; press it again to return. The terminal follows the panel: change the folder in the panel and the shell goes there; cd in the shell and the panel follows.
The command line under the panels runs commands in the folder of the active panel; ⌘L or → moves the focus there. ⌥↩ inserts the name and ⌥⇧↩ the full path of the marked files; files dropped on the command line or the terminal are inserted as quoted paths.
Colors come from built-in schemes, with separate schemes for light and dark appearance in Settings › Terminal. The System scheme uses the colors of text fields and the Terminal.app palette.
Trash and Full Disk Access
macOS keeps the Trash, other apps’ data, Mail and Safari closed to apps, and asks separately before an app opens Desktop, Documents, Downloads and some other folders. Full Disk Access lifts all of that at once: XCommander shows every folder, and search and synchronization see everything. Without it XCommander still works — macOS just asks about folders one by one, and protected ones stay closed.
On the first launch without Full Disk Access, XCommander offers it once. Later you can turn it on from Settings › General, where you also see whether XCommander has it, and a protected folder explains what to do right in its tab.
- Open System Settings › Privacy & Security › Full Disk Access, or click Open System Settings in XCommander.
- Turn on XCommander. If it isn’t in the list, click the + button and choose XCommander in Applications.
- Reopen XCommander: macOS gives the access only to a newly started app. Click Quit & Reopen when macOS offers it, or Reopen XCommander in the tab of a protected folder. Open tabs are kept.
Allowed access, but the Trash still doesn’t open? XCommander was running when you allowed it, and you clicked Later. Reopen XCommander. Settings › General shows whether the running XCommander has Full Disk Access.
In the Trash, F8 deletes immediately; right-click the Trash in the sidebar to empty it.
As Administrator
Some items aren’t yours to change: system folders such as /Library, other users’ files, files copied from another Mac. When macOS denies access on a local disk, XCommander offers As Administrator…, the way Finder asks you to authenticate:
- in the question of an operation — copying and moving, deleting to the Trash or immediately, File › Permissions…, Multi-Rename, creating destination folders, synchronization;
- in the error window of renaming, creating a folder or a file, and making aliases and links.
Click it and enter an administrator’s name and password. XCommander repeats the step with administrator rights, and the rest of that operation goes on without asking. The rights last only for that operation: the next one asks again with its own button, though for five minutes without the password. Items created this way belong to you, with the group of their folder, as in Finder; deleted items go to your Trash.
The first time, XCommander sets up a small helper that does the work as administrator, and macOS asks you to allow it:
- In System Settings › General › Login Items & Extensions, allow XCommander to run in the background. macOS opens this pane itself; the Open System Settings button in XCommander opens it too.
- Return to XCommander and click Continue.
This is needed only once. Settings › General shows whether the helper is allowed; Turn Off removes it, and it is set up again the next time you click As Administrator… The helper runs only while there is work for it.
The button isn’t offered on network volumes, where the server decides, for items that macOS protects or that are locked, in archives and on servers. If even an administrator is refused, XCommander says why.
Settings
- General — language, appearance, the editor for F4, the file comparison tool, automatic update checks, Full Disk Access and the administrator helper.
- View — text size of the list, the tab bar, the function key bar and the command line, highlighting of the active panel and its color.
- Panels — the columns shown in the file list.
- Keyboard — key sets and your own shortcuts.
- Terminal — color schemes for light and dark appearance.
Have a question that is not answered here? Write to support@xcommander.app.