fcd - Console file manager
fcd(1) (FranCommanDer) is a text based file manager that combines the best features of Midnight Commander and Ranger
- -h, --help
-
Show command line options
- -V, --version
-
Show program’s version number and exit
- -P FILE, --printwd FILE
-
Print last working directory to FILE
- -D FILE, --database FILE
-
Specify database file to use (default: $XDG_STATE_HOME/fcd/fcd.db) If FILE is the string :memory: a fast, but volatile RAM based database is used.
- -n, --nodb
-
Do not use database (Takes precedence over -D)
- -b, --nocolor
-
Requests to run in black and white
- --vertical
-
Use vertical panel layout
- -v FILE, --view FILE
-
File viewer
- -t TABSIZE, --tabsize TABSIZE
-
Set tab size for the file viewer (default: the tab size specified in the config file)
- ESC
-
Return to normal mode (like Vim) and reset file filter
- q, Q, 0, F10
-
Exit
- CTRL-R
-
Reload panels
- CTRL-L
-
Redraw screen
- CTRL-U
-
Swap panels
- CTRL-O
-
Show console output
- ALT-Q
-
Toggle quick view on other panel
- CTRL-P
-
Find file (fuzzy finder like fzf)
- TAB
-
Change active panel
- ALT-I
-
Set the other panel to the current directory
- ALT-O
-
Set the other panel to the highlited directory
- ALT-V
-
Toggle vertical panel layout
- v, 3, F3
-
View file with the selected pager / Enter directory
- e, 4, F4
-
Edit file/directory with the selected editor
- 7, F7
-
Make directory
- h, LEFT
-
Go to the parent directory
- j, DOWN
-
Go to the next list element
- k, UP
-
Go to the previous list element
- l, RIGHT, ENTER
-
Enter directory / Follow symlink / Open file with the selected opener
- o
-
Open archive as a read-only directory
- x
-
Execute selected file
- g, HOME, CTRL-HOME
-
Go to the top of the list
- G, END, CTRL-END
-
Go to the bottom of the list
- CTRL-B, PAGE UP
-
Go up a page in the list
- CTRL-F, PAGE DOWN
-
Go down a page in the list
- f, /
-
Filter list (fuzzy finder like fzf)
- BACKSPACE
-
Show/Hide hidden files
- sn
-
Sort by Name
- sN
-
Sort by Name (Reverse)
- se
-
Sort by Extension
- sE
-
Sort by Extension (Reverse)
- sd
-
Sort by Date & Time
- sD
-
Sort by Date & Time (Reverse)
- ss
-
Sort by Size
- sS
-
Sort by Size (Reverse)
- mKEY
-
Add current directory to the bookmark named KEY
- 'KEY
-
Go to the bookmark named KEY
- ''
-
Go to the previous directory (2 times ', not ")
- r, cc, cw
-
Rename file (replace)
- ce
-
Rename file (replace before extension)
- i, I
-
Rename file (insert)
- a
-
Rename file (append before extension)
- A
-
Rename file (append after extension)
- INSERT, SPACE
-
Toggle tag on selected file
- *
-
Toggle tag on all files
- t
-
Tag selected file
- T
-
Tag all files
- u
-
Untag selected file
- U
-
Untag all files
- +
-
Tag files that match the shell wildcard pattern
- -, \
-
Untag files that match the shell wildcard pattern
- 5, F5
-
Copy tagged files (or selected file)
- 6, F6
-
Move tagged files (or selected file)
- 8, F8
-
Delete tagged files (or selected file)
The following substitutions are available for the shell, mkdir, rename, copy and move commands:
- %f
-
The current file
- %n
-
The current file name without extension
- %e
-
The current file extension (including the leading .)
- %d
-
The full path of the current directory
- %b
-
The name of the current directory (basename)
- %s
-
The tagged files, if none the current file
- %t
-
The tagged files
- %F
-
The file in the other panel
- %N
-
The name of the file in the other panel without extension
- %E
-
The extension of the file in the other panel (including the leading .)
- %D
-
The full path of the directory of the other panel
- %B
-
The name of the directory of the other panel (basename)
- %S
-
The tagged files of the other panel, if none the file in the other panel
- %T
-
The tagged files of the other panel
- %%
-
The % character
There is no need to enclose these substitutions in quotes
fcd(1) respects the XDG Base Directory specification. If the $XDG_CONFIG_HOME environment variable is not set, the default ~/.config directory will be used instead.
- $XDG_CONFIG_HOME/fcd/fcd-config.toml
-
The fcd(1) configuration file
- $XDG_CONFIG_HOME/fcd/bookmarks
-
The currently saved bookmarks
- /usr/bin/fcd
-
The main executable
- /usr/share/fcd/fcd.fish
-
Copy this file to ~/.config/fish/functions/ to cd to the last directory when using the fish shell
- /usr/share/fcd/fcd.sh
-
Source this file in ~/.bashrc to cd to the last directory when using bash
GitHub: https://github.com/bugnano/fcd
Crates: https://crates.io/crates/fcd/