5 releases

0.2.3 Aug 20, 2024
0.2.2 Aug 15, 2024
0.1.1 Aug 10, 2024

#1203 in Filesystem

MIT license

16KB
344 lines

Tui-explorer

crates.io This is a simple and lightweight file explorer for a Command line Interface written completly in Rust

Installation

via crates.io

  1. Install cargo (see rust-lang.org)
  2. run cargo install tui-explorer

build from source

  1. install git and Cargo
  2. run git clone https://github.com/Programmer337/tui-explorer.git
  3. cd tui-explorer
  4. cargo install --path .

Usage

This start this will list all files and subdirs of the current dir. You will have the follwing options:

  • enter a number -> navigate to the option asociated with the number
  • directly enter a valid path -> navigate to it
  • mkdir -> you will be asked a name. Creates a new dir
  • a -> This Command will list all (including hidden) files and dir
  • cp -> you will be asked for the source and the tarrget to copy
  • rm -> enter a file or dir to deleted
  • cmd -> enter the command line
  • q -> quit the program

commandline options and environment variables

To see all directories and files you can use tui-explorer --list-all or set the envirnment variable LIST_ALL to 1

The programm automatically detects the system language via the LANG environment variable which is the standard on UNIX. The project supports following languages:

  • English
  • German
  • French

The fallback language is English.

Dependencies

~2.5–3.5MB
~68K SLoC