0.0.9 • Published 7 months ago
dufi v0.0.9
Dufi
CLI application that helps you find and manage duplicate files.
:warning: ALWAYS BACK UP YOUR DATA! All delete operations are permanent and without confirmation.
Table of Contents
Features
- Scan duplicate files in multiple directories
- Delete duplicate files
- Keep one file and delete the others on each duplicate group
- Web interface
Installation
Requirements
Node.js 18.x or higher
Supported Platforms
Currently works best on Windows. Should work on Linux and MacOS with limitation, but not tested.
Install via npm (recommended)
# 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
Usage
# 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
Contributing
- 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
License
This project is licensed under the MIT License.