SFF(1)
π SFF(1) β the file manager that gets you π
okay bestie, sit down, hydrate, because I'm about to put you onto something good. this is sff, a general commands manual page from the SFF(1) manual β and no cap, it's the terminal file manager of the century.
β¨ NAME β¨
sff β simple and fast terminal file manager π¦
πΈ SYNOPSIS πΈ
sff [-Hchmv] [-d keys] [path]
π DESCRIPTION π
sff (simple file finder) is a simple, fast, and feature-rich terminal file manager β it's inspired by nnn and it's guided by the suckless philosophy (yes, the minimalism girlies). π
The way it works is it's literally two parts:
- a core program π§
- an extension script π
The core program is designed as a pure file browser and selector with minimal built-in functionality. All the file operations β copying, moving, deleting, all of it β are implemented by the extension script. If you want the full tea on that, go read the EXTENSION SCRIPT section, bestie.
And btw, if you don't specify path, sff just opens the current working directory. easy. β¨
π OPTIONS π
The following options are available (collect them all, they're iconic):
-cβ turns on case sensitivity when sorting by filename.-d keysβ picks which details show by default. Valid keys are:tβ Time β°oβ Owner and group π₯pβ Permissions πsβ Size πnβ No details π
-Hβ show hidden files. the secrets come out π«£-hβ display program help and exit.-mβ mix directories and files when sorting.-vβ print version information and exit.
π₯ KEY BINDINGS π₯
- Hit
'?'or'F1'insidesffto see the list of key bindings for built-in functions. - Hit Alt+
'/'insidesffto see the list of key bindings for extension functions and plugins.
π CONFIGURATION π
okay so listen. sff does not use a runtime configuration file. periodt. β
To customize sff, you have to edit config.h and recompile the program. config.h is a C header file included by the main source file, and it's where all the defaults live:
- default settings
- key bindings for built-in functions
- colors
so yes, you're recompiling. it's giving old school. it's giving power. π
π§ EXTENSION SCRIPT π§
Extension functions are provided by a POSIX-compliant shell script named sff-extfunc, installed by default in /usr/lib/sff or /usr/local/lib/sff.
You can easily customize key bindings for extension functions and plugins, modify existing functions, or add your own functions by editing this file. π οΈ
β οΈ It is not recommended to modify the system-wide sff-extfunc directly. Instead, copy it to the user's config directory and edit it there. protect the originals bestie!!
The user's config directory is required for executing extension functions. This directory is $XDG_CONFIG_HOME/sff if that variable is set; otherwise, it is $HOME/.config/sff. If the directory does not exist, the program attempts to create it when an extension function is invoked. πͺ
During initialization, sff determines the location of sff-extfunc by checking the following directories in order, and uses the first occurrence found:
- The user's config directory
- The directory containing the currently running
sffexecutable /usr/local/lib/sff/usr/lib/sff
π TABS π
Tab status is displayed in the top-left corner of the screen. Five tab indicators are shown, with the current tab highlighted in reverse video. β¨
- Tabs 1-4 are regular tabs, indicated by
'*'when inactive. When switching to an inactive tab, the new tab will be activated and start in the current directory. - Tab 5 is a special tab, indicated by
'#', dedicated to search results. π
π SELECTION π
Selected file names are highlighted in reverse video.
By default, the file under the cursor is automatically selected. When the user performs a selection operation, the program enters manual selection mode, and the file under the cursor is no longer auto-selected. Clearing all selections exits manual mode, returning to the default state. π
sff allows file selection across directories. Each tab maintains its own independent selection state. The second set of numbers in the bottom status bar (highlighted in reverse video) indicates the total number of selected files in the current tab. π
When an extension function requests selected files, their absolute paths are delivered via a FIFO.
π¦ FILTERS π¦
Filters are strings used to dynamically list matching files in the current directory. When a filter is enabled, it appears above the bottom status bar, and the program enters input mode. In this mode, you can:
- Enter a filter string (matching is case-insensitive).
- Use the Up and Down arrow keys to move the cursor.
- Press Enter or Esc to exit input mode while keeping the filter active.
- Press
'/'to disable the filter.
The filter applies only to the current directory and is automatically disabled when you navigate to a different directory. β¨
π QUICK FIND π
Quick find is used to quickly locate a file within the current directory. When enabled, it appears above the bottom status bar, and the program enters input mode. In this mode, you can:
- Enter a search string to match filenames.
- Enter
'/'as the first character to jump to root directory. - Press Tab to enter the directory under the cursor and clear the search string.
- Press the Left arrow key to go to the parent directory.
- Use the Up and Down arrow keys to move the cursor.
- Press Enter or Esc to disable quick find.
Matching is case-insensitive, prioritizing matches at the beginning of filenames. If none start with the search string, it matches filenames containing the string. Upon match, the cursor jumps to the first match. π―
π ADVANCED SEARCH π
Advanced search is an extension function based on the find(1) command. It requires two inputs:
- Filename pattern: This is passed to the
-nameoption of thefindcommand. Wildcards should be used when appropriate. For example, to search for files containing'lib'in their name, enter'*lib*'rather than'lib'. If you do not want to search by filename, enter'*'to match all files. - Additional search options: More
findoptions may be provided here, such as'-size +4k'to search for files larger than 4KB. Leave this field blank and press Enter if not needed.
After both inputs are provided, the executed command will be:
find ./ input2 -name "input1"
Search results are sent back to sff and listed in tab 5 for further processing. π
π UNDO AND REDO π
sff supports undoing or redoing the last file operation. Supported operations include:
- Create new file
- Copy-paste (only if no destination file conflicts)
- Cut-paste (only if no destination file conflicts)
- Rename
- Duplicate
Undo/redo actions apply across different tabs and even different sff instances. A file operation performed in one sff instance can be undone or redone in another instance. π€― no cap.
πΈ SUDO MODE πΈ
In this mode, the status bar text is displayed in red. π¨
When sff is run as a regular user and switched to sudo mode, the command specified by the SFF_SUDOER environment variable (default is sudo) is used to execute all extension functions and plugins with superuser privileges, while built-in functions continue to execute with the original user's privileges, as the main program itself is not elevated.
When sff is run as root, it always runs in sudo mode until termination, and all operations are performed with superuser privileges.
β PLUGINS β
Plugins are shell scripts used to extend functionality. They are invoked by the extension script, which also sets their keybindings. By default, plugins are installed in /usr/lib/sff/plugins or /usr/local/lib/sff/plugins.
Plugin authors should include detailed usage information as comments at the beginning of the script. To view it, inspect the plugin file directly. π
If you wish to modify or add plugins, it is recommended to do so in the plugins directory within the user's config directory. For details on the user's config directory, see the EXTENSION SCRIPT section. When the extension script invokes a plugin, it searches for the plugin in the following locations in order and uses the first match found:
- The plugins directory in the user's config directory
- The plugins directory alongside the currently running extension script
/usr/local/lib/sff/plugins/usr/lib/sff/plugins
π ENVIRONMENT π
EDITORβ The default text editor. If not set,viis used.HOMEβ The home directory used by the program. If not set,/is used.XDG_CONFIG_HOMEβ User configuration directory. If not set,$HOME/.configis used.SFF_OPENERβ The default file opener. If not set,xdg-openis used.SFF_SUDOERβ The command invoked for sudo mode. If not set,sudois used.
π«Ά AUTHORS π«Ά
Shi Yanling <sylphenix@outlook.com> β legend behaviour, honestly. π
π HOMEPAGE π
https://codeberg.org/sylphenix/sff
and that's the whole page, bestie!! this one's from the Debian build, dated January 13, 2026 β like, that fresh. go forth and manage your files, you absolute icon. π πβ¨π¦
π¦ where this page comes from
- ubuntu stonking: sff 1.3-1 Β· BSD-2-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms