dufi
TypeScript icon, indicating that this package has built-in type declarations

0.0.9 • Public • Published

Dufi

GitHub Actions Workflow Status NPM Release GitHub Release

CLI application that helps you find and manage duplicate files.

⚠️ ALWAYS BACK UP YOUR DATA! All delete operations are permanent and without confirmation.

Table of Contents

Features

  • [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

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

  1. Fork the repository
  2. Create a new branch (git checkout -b feature-branch)
  3. Commit your changes (git commit -am 'Add new feature')
  4. Push to the branch (git push origin feature-branch)
  5. Create a new Pull Request

License

This project is licensed under the MIT License.

Package Sidebar

Install

npm i dufi

Weekly Downloads

1

Version

0.0.9

License

MIT

Unpacked Size

229 kB

Total Files

9

Last publish

Collaborators

  • gegehprast