0.0.3 • Published 2 years ago

delete-duplicates v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Delete Duplicate

A CLI command inspired by go-find-duplicates, used to delete any duplicated files on your disk.

How to use

install Go Find Duplicates

go install github.com/m-manu/go-find-duplicates@latest
export PATH="$PATH:$HOME/go/bin"

Install Delete Duplicate:

npm install -g delete-duplicates
delete-duplicates -j <duplicates.json> [-d] [-q] {dir-1} {dir-2} ... {dir-n}

Parameters:

Options:
  -j <duplicates.json> # The file generated by go-find-duplicates
  -d     delete files. By default it only print the files. Please
         double check before you use this flag.
  -q     quiet mode.
  dir-n  If the duplicated file is listed in any of these directory,
         the first one is preserved and rest will be deleted. If it
         not found in any of these directories, the first one will be
         preserved and rest will be deleted.
0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago