Ported the initial Python code to Rust for portability and having a single binary.
- Indexing: Index files in a folder in the SQLite database.
- Duplicate Detection: Detect basic duplicates with filename and size match.
- Large Files: List large files.
- List instructions if no params passed.
- Display message if no duplicates found (either "0 duplicates found" or "no duplicates found").
- Version number and author information.
- find local ip address for accessing it from other computers in the network
- generate QRcode for the local ip in terminal
- Indexing can be time-consuming. Showing some progress, like a total count or a progress bar, would be better.
- run a simple web app which can list duplicate files and large files and maybe a few sorting or search function via web interface
- Display results in a tabular column.
- Compute and store file SHA in the files table. This is optional as it can be compute-intensive.
- Export file list with details as CSV.
cargo run
cargo build
cargo check
cargo clean
cargo build --release
cp .\target\release\bigfiles.exe C:\Users\senth\bin\
Optimizations For further optimizations, check out min-sized-rust https://github.com/johnthagen/min-sized-rust
cargo bloat
cargo bloat --time -j 1
Author: Senthil Nayagam Co-Author: ChatGPT4
Cross-compile and release on Windows, Linux, Mac (Intel), and Mac (Apple Silicon).