12

Github GitHub - leo-arch/clifm: CliFM is a CLI-based, shell-like, and non-curses...

 2 years ago
source link: https://github.com/leo-arch/clifm
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

CliFM

Non-curses, KISS file-manager for the terminal

Fast, extensible, lightweight | Written in C

Linux, FreeBSD | x86, ARM

Report bug · Request feature · Browse the documentation


[…] I think I had been looking for something like this for a long time, and had never put it in words. I used [other file-managers] occasionally, but frequently just found myself doing most of my file administration from the CLI. I think this hits a nice sort of sweet spot right between the two. It feels less like a separate program and more like just putting your shell into "file-management mode".

Tuerda

Halfway between a shell and a TUI file-manager […] Nice tool, fluid, intuitive.

Orduval



Did I say it's fast?

Music: "Quad Machine", by Sonic Mayhem


Table of contents


Why another file manager? I can.
In the free world, a free community finds alternatives central to freedom, and moreover, a place to learn.

Whatever needs to be done, do it in the simplest possible way: KISS is a desired trait of a file-manager for the terminal. No GUI, no curses, but just a command-line, shell-like file manager: 5 MiB RAM and 500 KiB disk space.

Willingness to try something different is all you need.

Unlike most terminal file-managers out there, CliFM replaces the traditional curses interface by a simple command-line interface. It is a file-manager, but also a shell extension.

Search for files, copy, rename, and trash some of them, but, at the same time, update/upgrade your system, add some cronjob, stop a service, and run nano (or vi, or emacs, if you like).

Those familiar with the command-line will find in a file-manager based on it a desirable addition to its functionality.
The command-line is still there, never hidden.

Should all terminal file-managers be curses-based file-managers? No.


Description

CliFM's interface

Features beyond copy, move, remove, etc:

For a detailed explanation of each of these features, follow the corresponding links or consult the wiki.


Installing CliFM

Dependencies

glibc and coreutils, of course, but also libcap, acl, and readline.
For Arch Linux users, all these dependenciess are part of the core repository.
In Debian/Ubuntu systems three packages must be installed before compilation: libcap-dev, libacl1-dev, and libreadline-dev. In Fedora based systems you need libcap-devel, libacl-devel, and readline-devel.

Optional dependencies: file (to automatically open files via Lira), sshfs, curlftpfs, and cifs-utils (for remote-filesystem support); atool, archivemount, genisoimage, p7zip, and cdrtools (for archiving and compression support), and icons-in-terminal to turn on icons.

Arch Linux

  • You'll find the corresponding packages on the AUR: the stable and the development version.

  • A binary package is now available on the chaotic-aur repository. Follow the official installation instructions.

  • Of course, you can also clone, build, and install the package using the PKGBUILD file:

$ git clone https://github.com/leo-arch/clifm.git
$ cd clifm/misc
$ makepkg -si

Debian-based systems

A .deb package (for x86_64) is available on the Releases page.

Other Linux distributions or FreeBSD:

  1. Clone the repository
$ git clone https://github.com/leo-arch/clifm.git
$ cd clifm
  1. Run make as follows:
$ sudo make install

You should find the binary file in /usr/bin, so that you can run it as any other program:

$ clifm

To uninstall clifm, issue this command where the makefile is located:

$ sudo make uninstall

First steps

The help command teaches you about CliFM.
Once in the CliFM prompt, type help or ?.
To jump into the COMMANDS section in the manpage, simply enter cmd or press F2.
Press F1 to access the full manpage and F3 to access the keybindings help-page.

You can also take a look at some of these basic usage-examples to get you started.


Support

CliFM is C99 and POSIX-1.2008 compliant (if compiled with the _BE_POSIX flag).
It works on Linux and FreeBSD, on x86 and ARM architectures.


License

This project is licensed GPL version 2 (or later).
See the LICENSE file for details.


Contributing

Yes. Please see our contribution guidelines for details. at Hosted Weblate.


Community

Join our Gitter discussion room and let us know what you think: ideas, comments, observations and questions are always welcome.
The Discussions section of this repo is also open to input.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK