dup

command module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 11 Imported by: 0

README

Dup

Dup finds duplicate files in a list of given directories and optionally deletes any duplicates found.

Installation

Either download a release directly from the releases page or use Go:

go install github.com/samiksome92/dup@latest

Usage

dup [flags] dir ...

The flags are:

-x, --cross       Cross check across directories.
-h, --help        Print this help.
-r, --recursive   Recursively check files.

Dup only compares files which have the same size. The files are compared byte for byte and marked as duplicates if they are same. Once all files are processed a table of duplicate files founds and their matches are displayed. The user is then provided with an option for deleting all duplicates detected.

Documentation

Overview

Dup finds duplicate files in a list of given directories and optionally deletes any duplicates found.

Usage:

dup [flags] dir ...

The flags are:

-x, --cross       Cross check across directories.
-h, --help        Print this help.
-r, --recursive   Recursively check files.

Dup only compares files which have the same size. The files are compared byte for byte and marked as duplicates if they are same. Once all files are processed a table of duplicate files founds and their matches are displayed. The user is then provided with an option for deleting all duplicates detected.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL