Skip to content
/ fmap Public

A CLI tool for displaying a tree like view of files and directories.

License

Notifications You must be signed in to change notification settings

cqb13/fmap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fmap

Fmap is a command-line tool written in Rust for displaying a tree-like view of files and directories. It provides functionality to scan directories, create a configuration file, manage ignored directories and files, and more.

Installation

Build from Source

Clone the repository and build the project using Cargo:

git clone https://github.com/cqb13/fmap.git
cd bits
cargo build --release
# The binary will be located at target/release/bits

To add the binary to your PATH, run:

cargo install --path .

Pre-built Binaries

Pre-built binaries are available for Windows, macOS, and Linux on the releases page.

Usage

USAGE:
    fmap [COMMAND] [OPTIONS]

COMMANDS:
    help - Prints help information
        command       <COMMAND>                     (optional) The command you want help with

    version - Prints version information

    config - Creates a new config file

    install - Installs fmap

    add - Add a file or directory to the ignore list
        type          <TYPE>                        (required) file (file) or directory (dir)
        name          <NAME>                        (required) The name of the file/file ending or directory

    remove - Remove a file or directory to the ignore list
        type          <TYPE>                        (required) file (file) or directory (dir)
        name          <NAME>                        (required) The name of the file/file ending or directory

    list - List all files or directories in the ignore list
        type          <TYPE>                        (required) file (file) or directory (dir)

    scan - Scan a directory
        path          <PATH>                        (required) path to a directory
        -x            --                                       Disable file extentions
        -f            --                                       Show file sizes
        -d            --                                       Show directory sizes
        -c            --                                       Show the file count in a directory

Contributing

Contributions are welcome! Feel free to fork this repository and submit pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.