This Rust project helps you organize any directory on your system by sorting files into subdirectories based on their file types. It can also revert the organization and move all files back to the main directory.
- Organize: Organizes a specified directory into subdirectories based on file types. It monitors the directory and automatically moves new files to their respective directories. Initiate this feature by selecting "Organize" from the main menu.
- Revert: Reverts the organization done by the "Organize" feature. Moves all files back to the main directory. Initiate this feature by selecting "Revert" from the main menu.
- Run the program.
- Enter the path of the directory you want to organize when prompted.
- Select an action from the menu: "Organize", "Revert", or "Exit".
- If you select "Organize" or "Revert", the program will start monitoring the specified directory. It will either organize new files or revert the organization, respectively.
- To stop the "Organize" or "Revert" function and return to the main menu, simply write "stop".
To build this project, you need to have Rust installed on your machine.
- Clone code with
git clone https://github.com/jekabso21/download_organizer.git
- Use
cargo build
to build the project.
Contributions are welcome. Please open an issue or submit a pull request.
This project is licensed under the MIT License.