Metadata-Version: 2.1
Name: rdfind2
Version: 0.1.5
Summary: Find duplicated files very fast
License: MIT
Author: trim21
Author-email: trim21.me@gmail.com
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: click (>=8,<9)
Requires-Dist: tqdm (>=4.65.0,<5.0.0)
Description-Content-Type: text/markdown

# rdfind2

[![](https://img.shields.io/pypi/v/rdfind2.svg)](https://pypi.python.org/pypi/rdfind2)
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/rdfind2)](https://pypi.org/project/rdfind2/)
![](https://img.shields.io/badge/License-MIT-blue.svg)

find duplicated files (in one fs) very fast.

rdfind2 will filter files by size, head, tail and inode.

Only hash full files content when it's necessary.

## Install

with pipx:

```shell
pipx install rdfind2
```

with pip:

```shell
pip install rdfind2
```

## Usage:

```text
Usage: rdfind2 [OPTIONS] LOCATION...

Options:
  --hardlink               make hardlink between duplicate.
  --delete                 delete duplicated files, keep only one file.
  --delete-from PATH       when using --delete flags, only delete files in
                           specific directory.
  --delete-ignore-inode    when using --delete, ignore file's inode attribute.
                           This means rdfind2 will keep only 1 file of already
                           hardlink-ed files.
  --min-file-size INTEGER
  --unsafe INTEGER RANGE   unsafe partial fast checksum, check only 1/N
                           content of this file. If pass --unsafe=1, it will
                           behave like safe hash  [x>=1]
  --ext TEXT               included files by extensions
  --ignore-ext TEXT        exclude files by extensions
  -v, --verbose            increase output level
  --dry-run
  --help                   Show this message and exit.
```

