1
0
Fork 0
mirror of synced 2024-05-16 18:32:53 +12:00
Commit graph

20 commits

Author SHA1 Message Date
Rafał Mikrut 50ad3f9873
Update to Rust 1.5.1 (#302) 2021-03-27 13:14:02 +01:00
Thomas Andreas Jung 1d904a858e
Dryrun for duplicates (#277)
```
    czkawka_cli dup --dryrun -d $(pwd)/folder -m1 -D aen
    Found 2 duplicated files in 1 groups with same content which took 2 B:
    Size - 2 B (2) - 2 files
    /home/thomas/Development/czkawka/folder/a
    /home/thomas/Development/czkawka/folder/b
    ----

    -------------------------------MESSAGES--------------------------------
    Delete /home/thomas/Development/czkawka/folder/a
    Delete /home/thomas/Development/czkawka/folder/b
    ---------------------------END OF MESSAGES-----------------------------
    ```
2021-03-01 12:23:43 +01:00
Rafał Mikrut 4c770b582b
Add option to not ignore hard links (#273) 2021-02-22 20:14:33 +01:00
Thomas Andreas Jung 0f12897687
Support the hash type parameter in the CLI (#267)
https://github.com/qarmin/czkawka/issues/266
2021-02-21 05:59:07 +01:00
Thomas Andreas Jung 3ffa55b008
Add delete method to replace duplicate files with hard links (#236)
This results in the same space saving but keeps the "deleted" files around.

$ mkdir hardlink
$ cd hardlink
$ echo a > a
$ cp a b
$ ln a c
$ touch -t 01010000 a
$ ls -il --time-style=full-iso .
25169323 -rw-rw-r-- 2 thomas thomas 2 2021-01-01 00:00:00.000000000 +0100 a
25169558 -rw-rw-r-- 1 thomas thomas 2 2021-01-31 18:11:08.298161098 +0100 b
25169323 -rw-rw-r-- 2 thomas thomas 2 2021-01-01 00:00:00.000000000 +0100 c

$ czkawka_cli dup --directories $(pwd)/hardlink -m 1 -f hardlink.result --delete-method HARD

$ ls --time-style=full-iso -li hardlink
25169323 -rw-rw-r-- 3 thomas thomas 2 2021-01-01 00:00:00.000000000 +0100 a
25169323 -rw-rw-r-- 3 thomas thomas 2 2021-01-01 00:00:00.000000000 +0100 b
25169323 -rw-rw-r-- 3 thomas thomas 2 2021-01-01 00:00:00.000000000 +0100 c
2021-02-05 17:59:34 +01:00
Rafał Mikrut 6e89bcb507
Add cache for broken files (#204) 2021-01-13 16:03:05 +01:00
Rafał Mikrut eeaaea20cc
Add broken files support (#202) 2021-01-12 20:06:12 +01:00
Rafał Mikrut 7992ba30de
Fix included/excluded files which contains commas (#195) 2021-01-10 20:44:10 +01:00
Rafał Mikrut 880787a67f
Show errors in image previewer when failed to generate it (#130) 2020-12-23 21:16:40 +01:00
Rafał Mikrut 1d59199bb2
Add support for checking for invalid symlinks (#124) 2020-12-21 16:09:39 +01:00
Rafał Mikrut 29a0716be5
Add very small similarity level to finding similar images, add option to choose level from CLI, fix bug with duplicated entries in similar pictures (#104) 2020-11-09 12:55:27 +01:00
Rafał Mikrut ecebb3a1af
Implement finding duplicated music by tags/artist/year etc. (#95) 2020-11-02 21:56:07 +01:00
Rafał Mikrut 8ba780ded6
Add missing options in some modes (#90) 2020-10-31 19:19:33 +01:00
Rafał Mikrut 777ac50f07
Add support for checking for zeroed files (#88) 2020-10-31 10:29:11 +01:00
Rafał Mikrut 7112ff6b92
Add support for checking same file names (#84) 2020-10-24 20:44:21 +02:00
0xflotus bbc1bc6c73
fixed small typo (#78) 2020-10-21 22:22:44 +02:00
Rafał Mikrut 3dd203f246
Add support for finding similar images to CLI (#66) 2020-10-14 21:10:27 +02:00
Rafał Mikrut 23f203a061 Duplicates files in CLI shouldn't delete files by default 2020-10-12 15:25:32 +02:00
Rafał Mikrut 1a87a69116 Fixes some typos 2020-10-07 10:34:15 +02:00
Meir Klemfner e4af905078
Changed to StructOpt for CLI argument parser. (#37)
Changed to StructOpt for CLI argument parser.
2020-10-04 23:36:49 +02:00