Removed options to delete duplicates
This commit is contained in:
parent
a717146d73
commit
2770390df3
3 changed files with 8 additions and 53 deletions
15
README.md
15
README.md
|
@ -1,6 +1,7 @@
|
|||
# xxSherly
|
||||
|
||||
A fork of [Sherly](https://github.com/BlyDoesCoding/Sherly), using [xxHash](https://github.com/Cyan4973/xxHash).
|
||||
A fork of [Sherly](https://github.com/BlyDoesCoding/Sherly), using [xxHash](https://github.com/Cyan4973/xxHash).
|
||||
This fork is faster, but has less features and may produce false-positives.
|
||||
|
||||

|
||||
|
||||
|
@ -8,17 +9,15 @@ A fork of [Sherly](https://github.com/BlyDoesCoding/Sherly), using [xxHash](http
|
|||
|
||||
Sherly is a Multithreaded Duplicate File Finder for your Terminal, written in java. You can Easily find duplicate Images, videos as well as any other type of Data. That can be helpful if you run on small storage or just want to keep regular housekeeping.
|
||||
|
||||
This fork uses [xxHash](https://github.com/Cyan4973/xxHash) instead of MD5 for performance reasons (see [Speed comparison](#speed-comparison)).
|
||||
Note that xxHash is not a cryptographic hash function and therefore may produce collisions. That's why the checksum is composed of the xxHash Digest and the filesize.
|
||||
Instead of md5, this fork uses [xxHash](https://github.com/Cyan4973/xxHash) + the filesize to find duplicates, for performance reasons (see [Speed comparison](#speed-comparison)).
|
||||
Note that xxHash is not a cryptographic hash function and therefore may produce collisions (false-positives). For this reason, since version 2.1, the program no longer offers the option to delete duplicates. You should delete them by yourself.
|
||||
|
||||
## Usage
|
||||
|
||||
```
|
||||
usage: xxSherly.jar [options] folder1 folder2 ...
|
||||
-c,--color enable colored output
|
||||
-d,--delete delete all dups except one, without asking first
|
||||
-h,--help show this help message
|
||||
-n,--noinput skip all user input
|
||||
-p,--progress enable progress indicator
|
||||
-t,--threads <arg> override default thread number (defaults to the
|
||||
number of cores)
|
||||
|
@ -42,16 +41,16 @@ mvn package assembly:single
|
|||
|
||||
## Speed comparison
|
||||
|
||||
I let Sherly v1.1.4 and xxSherly v1.0 find duplicates in my Music Library (containing `.wav` files) using the following commands:
|
||||
I let Sherly and xxSherly find duplicates in my Music Library (containing `.wav` files) using the following commands:
|
||||
|
||||
```bash
|
||||
time java -jar Bin/sherly.jar -n -f ~/Music/
|
||||
time java -jar target/xxSherly-1.0-jar-with-dependencies.jar -n -f ~/Music/
|
||||
time java -jar target/xxSherly-x.y-jar-with-dependencies.jar -n -f ~/Music/
|
||||
```
|
||||
|
||||
The timings are measured using the Linux tool `time` (`real`).
|
||||
|
||||
| | Sherly | xxSherly |
|
||||
| | Sherly v1.1.4 | xxSherly v1.0 |
|
||||
| --------: | ------------: | --------------: |
|
||||
| 1st run | 4.055s | 2.561s |
|
||||
| 2nd run | 4.055s | 2.304s |
|
||||
|
|
Reference in a new issue