The commander
sninja cmd
sninja cmd 'https://share.ninja/#…'A two-pane file manager in the terminal, in the tradition of Midnight Commander and FAR. Each pane shows a folder on your disk or a share. Open a share by passing its link, with Alt+A, or from your Links list. Tab switches panes, Enter opens, Backspace goes up, F5 copies from one pane to the other, F1 lists every key.
Shares are read-only in the commander: copies go from a share to your disk, or disk to disk. F3 views a file, text or hex, with search and go-to. It reads only what is on screen, straight from the share, so nothing is downloaded to look. F4 edits a local file in the built-in editor. F6 renames, F7 makes a folder, F8 deletes, Alt+7 finds a file by name: all on your disk. Ctrl+S is quick search in a pane, and the command line at the bottom runs shell commands in the active local folder.
Alt+1 and Alt+2 choose what the left or right pane shows: a folder or share, Links, Nearby, Connection, User, Log, Info.
- Links
- What you have shared. Enter opens a link's share in the pane; copying files onto Links with F5 makes a new share and a new link.
- Nearby
- The devices around you. Enter shows one; copying files onto a device with F5 sends them to it, F8 withdraws the offer. When a device sends you something, a dialog appears: Accept opens the share in the other pane, ready to copy with F5; Decline answers no.
- User
- Where you sign in and out, with Enter. Alt+Shift+V shows your devices and Alt+Shift+J the ones waiting to be approved.
The commander shares its session with the rest of sninja: signing in here or with sninja auth login is the same sign-in.

