Skip to content

ishitaraina1807/Rust_File_Explorer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Rust File Explorer

This is a simple file explorer written in Rust that lists the files in a specified directory.

Description

The file explorer project is a command-line tool that allows users to list the files in a directory specified by the user. It utilizes Rust's standard library (std::fs) to interact with the file system and retrieve directory contents.

Features

  • List files in a specified directory.
  • Handle errors gracefully when encountering issues while reading the directory.

Installation

  1. Ensure you have Rust installed on your system. If not, you can install it from the official Rust website.

  2. Clone this repository to your local machine using Git:

    git clone https://github.com/your-username/file-explorer.git

Usage

  1. Navigate to the directory where the project is cloned.

  2. Compile the project using Cargo:

    cargo build --release
  3. Run the executable, providing the directory path you want to explore:

    ./target/release/file_explorer <directory_path>

    Replace <directory_path> with the path to the directory you want to explore.

Example

To explore the contents of the current directory:

./target/release/file_explorer .

Contributions

Contributions are welcome! If you find any issues or want to add enhancements, feel free to open an issue or submit a pull request on GitHub.


About

Simple File explorer in RUST for learning purpose

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published