The file browser

The file browser is a Name/Size/Date listing to the right of the terminal. It works for local and SSH sessions and follows your shell around as you cd.

Toggle it with the Files toolbar button or View > File Browser (⌥⌘F) — it’s on by default. Drag the divider between terminal and pane to resize it; the width is remembered.

The OliTerm window: a terminal on the left, the file browser pane on the right listing a project folder.
The pane sits beside the terminal and shows the same directory the session is in.

Navigation

The pane and the terminal stay in sync

On SSH hosts, following the terminal requires the host to report its directory. If the footer shows “Directory sync needs shell integration (Shell menu)”, install it once — see Uploads & shell integration.

Using files in commands

Double-click a file (or choose Insert Path in Terminal) to type its shell-quoted path into the terminal — build the command around it and press ↩ yourself. Copy Path puts the path on the clipboard instead. Both work on multi-selections.

Transferring files

Transfers use scp over the session’s own connection — no second login, and it works on password-authenticated hosts. Progress and results show in the pane’s footer.

Editing files

The path bar

The bar along the bottom of the pane shows the full path of the selected file, the number of items when several are selected, and the folder you are in when nothing is. The text can be selected and copied, and hovering shows the whole path when it is too long to fit.

Get Info

Select a file and choose Get Info (or press ⌘I / click the File Info toolbar button) to open the inspector: kind, symlink target, location, size, dates, link count, and permissions — the mode string with its octal value, owner, and group.

This works for search results too. Those arrive without details — OliTerm does not stat 500 files to fill a table — so selecting one fetches them for that file alone, and the inspector briefly says Reading details… while it does.

Quick Look

Select a file and press Space, or choose Quick Look from the context menu, to look inside it without opening anything. Press Space again to close.

Local files preview straight from disk. Remote files have to reach your Mac first — Quick Look can only preview real files — so OliTerm fetches them:

A Quick Look window showing the text of nginx.conf, titled nginx.conf.
A remote nginx.conf previewed in place. Quick Look has no renderer for .conf, so OliTerm shows it as text — the title still says nginx.conf.
Note Quick Look works out how to display a file from its extension, so files without one — .zshrc, .gitconfig, hosts, Makefile — would come up as a blank page. OliTerm previews those through a temporary .txt copy instead. Your real file is never renamed, and the preview still shows its true name.

Preview copies live in a temporary folder and are deleted when the tab closes.

Searching the whole host

The search field above the list — Search this host, or Search this Mac on a local session — searches the entire host, not the folder you are looking at. Type and press ↩; press ⎋ or click the ✕ to go back to browsing. Results show full paths, and double-clicking one jumps to its folder with the file selected.

The file pane showing three search results, each a full path to a release.conf file in a different folder.
Searching the whole host. Results show full paths, and the footer names the backend that answered — here Spotlight.

To work with a result where it lives, choose Go to Enclosing Folder from its context menu (or double-click it). The pane leaves the results, opens that folder with the file selected and scrolled into view — and because navigating the pane also types cd into the session, your shell ends up there too.

OliTerm uses the fastest index the host actually has, and the footer always says which one answered:

BackendWhen it is used
SpotlightmacOS hosts (and your Mac) — via mdfind
plocate / locateLinux hosts that have one installed
findAnything else — scans the filesystem, /proc, /sys and /dev skipped
Warning locate and plocate answer from a database that is usually rebuilt once a day, so results can be stale and may list files that have since been deleted. That is why the footer names the backend. When it matters, click Search Exhaustively to rerun the search with find, which reads the disk as it is right now — expect it to take minutes on a large host.

Searches stop at 500 results, and a running search can be stopped at any time with the Stop button.

Context menu reference

CommandWhat it does
OpenOpens the selected folder in the pane
Go to Enclosing FolderSearch results: opens the file’s folder with it selected, and cds the session there
Quick LookPreviews the file without opening it (Space)
EditTypes and runs nano on the file in the session
Edit in BBEditOpens the file in BBEdit; remote saves upload back automatically
Insert Path in TerminalTypes the shell-quoted path(s) — never runs anything
Copy Path / Copy PathsCopies the full path(s) to the clipboard
DownloadSSH sessions: copies the selection to Downloads and reveals it
Get InfoShows the info inspector (⌘I)
RefreshReloads the listing

OliTerm Help