fedup

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 22, 2021 License: MIT Imports: 7 Imported by: 0

README

fedup

fedup is a simple File dEDUPlicator.

It walks a given directory, collects hash sums of all files,
and turns all duplicates into hard links.

Usage:
  fedup <directory> [flags]

Flags:
  -d, --dryrun   Do not make any changes.
  -h, --help     help for fedup
  -q, --quiet    Do not print any output.

fedup uses the BLAKE3 cryptographic hash function to compute hash sums, making the operation fast.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dedup

func Dedup(dirname string, dryrun bool, out io.Writer) (int, error)

Dedup will de-duplicate all files in a given directory by creating hard-links of files with identical b3sums.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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