A file management CLI app built using Rust, with the following functionality:
- Copying files
- Deleting files
- Moving files
- Renaming files
- Listing the properties of a file
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Rust (>= 1.45)
- Cargo (Rust package manager)
- Clone the repository:
git clone https://github.com/[username]/file-management-cli.git
- Change to the project directory:
cd file-management-cli
- Build the project:
cargo build --release
- Run the project:
./target/release/file_management_cli
file_management_cli copy <SOURCE_PATH> <DESTINATION_PATH> [FILE_NAME]
file_management_cli delete <FILE_PATH>
file_management_cli move <SOURCE_PATH> <DESTINATION_PATH>
file_management_cli rename <OLD_NAME> <NEW_NAME>
file_management_cli properties <FILE>
-h
,--help
: Print help information-V
,--version
: Print version information
- Creating directories
- Deleting directories
- Listing files in a directory
- Listing sub-directories of a directory
- Implement a command for creating directories
- Allow creating multiple directories at once
- Validate directory creation
- Implement a command for deleting directories
- Allow deleting multiple directories at once
- Validate directory deletion
- Implement a command for listing files in a directory
- Allow listing files recursively
- Allow filtering by file type
- Implement a command for listing sub-directories of a directory
- Allow listing sub-directories recursively
- Allow filtering by directory depth
- clap - Command Line Argument Parser.
- walkdir - File tree traversal.
- file-format - File format parsing.
- Hat tip to the creators of Clap, Walkdir, and File-format.
This README is for educational purposes only. The author is not responsible for any misuse of the information contained in this README.