CLI application that helps you find and manage duplicate files.
⚠️ ALWAYS BACK UP YOUR DATA! All delete operations are permanent and without confirmation.
- [x] Scan duplicate files in multiple directories
- [x] Delete duplicate files
- [x] Keep one file and delete the others on each duplicate group
- [x] Web interface
Node.js 18.x or higher
Currently works best on Windows. Should work on Linux and MacOS with limitation, but not tested.
# npm
npm install -g dufi
Install from source (might require pnpm, haven't tested yet)
# Clone the repository
git clone https://github.com/gegehprast/dufi.git
# Change directory
cd dufi
# Install dependencies
npm install
# Link the package
npm link
# Scan current directory
dufi scan .
# Scan multiple directories
dufi scan /path/to/directory1 /path/to/directory2/sub
# Scan and manage on Web UI
dufi scan /path/to/directory1 /path/to/directory2/sub --web
# Purge cached hash
dufi purge
- Fork the repository
- Create a new branch (
git checkout -b feature-branch
) - Commit your changes (
git commit -am 'Add new feature'
) - Push to the branch (
git push origin feature-branch
) - Create a new Pull Request
This project is licensed under the MIT License.