1
0
Fork 0
mirror of synced 2024-09-29 16:51:57 +13:00
Commit graph

84 commits

Author SHA1 Message Date
Rafał Mikrut
c9e9a65cc9
Windows hardlinking problem (#881)
* Clippy 1

* Nightly Clippy

* Disable hardlink button when on windows test of hardlinking failed

* Import things for new function
2022-12-21 08:44:26 +01:00
Alex
e6b19270a6
Update to clap 4 (#878) 2022-12-20 10:19:30 +01:00
Rafał Mikrut
a66a2849d1
Allow to set number of used threads in scan (#839) 2022-11-25 20:38:27 +01:00
Kian-Meng Ang
ddc4def99e
Fix typos (#840)
Found via `codespell -S i18n -L crate,nd,gir,noo`
2022-10-22 20:43:06 +02:00
0x4A6F
e20f30c66f
Reintroduce support for version argument e.g. (#806)
`czkawka_cli --version`
2022-08-17 16:58:16 +02:00
Alexis Lefebvre
95d1d73a29
CLI: rewrite the message for minimal file size (#807) 2022-08-17 16:57:57 +02:00
Rafał Mikrut
44fb75ada5
Smaller fixes (#795)
* Improve a little documentation, add missing bad extension

* Allow to find the smallest files from CLo

* Show error when all directories are reference folders

* 2 more testing objects

* Add missing original preset
2022-07-31 08:45:19 +02:00
Rafał Mikrut
2f932e20ff
Sort speedup and manual add window improvements (#782)
* Sort unstable

* Multiple entries when using manual add

* Do not allow to add multiple same directories to check

* Assert
2022-07-24 20:48:02 +02:00
Rafał Mikrut
e3cea67634
Default to 16 hash size and add "Original" similarity (#768) 2022-07-05 19:58:57 +02:00
Rafał Mikrut
d42e17c15f
Update to clap from structopt (#759) 2022-06-18 10:59:46 +02:00
Rafał Mikrut
cf94ab918e
Reformat code with Intelij tool (#741) 2022-05-31 17:52:55 +02:00
ChihWei Wang
96def07bc9
Change option of dup subcommand from '-ht' to 't' (#720)
Option 'ht' conflicts with 'h' since the short option should be one char.
2022-05-18 18:45:58 +02:00
ChihWei Wang
c64ab05648
Add exclude other filesystems option (#673) 2022-04-23 20:21:46 +02:00
Rafał Mikrut
2d8a930ae5
Update image-rs and fix selecting windows path (#656) 2022-04-02 16:11:28 +02:00
Rafał Mikrut
3ce5d4a967
Change AudioTags to lofty and support moree audio things (#590) 2022-02-25 18:47:25 +01:00
Peter Blackson
51df63b8ea
Implement DirTraversal (#531)
* Implement DirTraversal

* rustfmt

* Fix for options

* Fix entries

* Fix symlinks

* Fix other entry type
2022-01-01 21:07:20 +01:00
Rafał Mikrut
5db5d17afb
Use max line length 180 instead 250 (#515)
This was a little too big value.
I don't like too much too small values, because code looks ugly.
2021-12-21 18:44:20 +01:00
Rafał Mikrut
c8ade1fb0f
Use system language when available (#506)
* Use system language when available

* Use clippy nightly
2021-12-18 23:45:37 +01:00
Rafał Mikrut
f334bd6975
Add better custom selecting (#479) 2021-12-02 15:33:06 +01:00
Rafał Mikrut
fce8ba8ddf Update instructions 2021-12-01 22:34:49 +01:00
Rafał Mikrut
1fd53b854b
Add prehash cache support (#477) 2021-12-01 20:09:04 +01:00
Rafał Mikrut
51271dcdf0
Remove HashMB mode (#476)
* Remove HashMB mode

* Add some explanation and remove this from GUI

* Not needing to handle everything
2021-12-01 12:37:17 +01:00
Rafał Mikrut
4871016a3c
Add option to not remove outdated cache entries (#472)
* Add option to not remove outdated cache entries

* Default duplicates cache size lowered to 512 KB

* Add some tooltips,
Add logic to opening cache/config folders

* Add option to clear cache files from outdated results(manually)
2021-11-30 12:45:09 +01:00
Rafał Mikrut
cf2e822435 Reformat code with idea tool 2021-11-27 20:57:10 +01:00
Rafał Mikrut
b7e4eaccaf Modified include organization 2021-11-27 20:49:20 +01:00
Rafał Mikrut
78b49dee3d
Remove support for zeroed files (#461) 2021-11-23 11:38:37 +01:00
Rafał Mikrut
29129d3ec0
Support for finding similar videos (#460)
* Add support for similar videos to CLI

* Add GUI support for similar videos

* Video duplicates

* git_dup

* Documentation
2021-11-23 11:10:24 +01:00
Rafał Mikrut
96e7af0d25
Add support for multiple hashes in similar images to GUI (#448)
* Add support for multiple hashes in similar images to GUI

* Needs a little more testing

* General fixes
2021-11-19 06:35:26 +01:00
Rafał Mikrut
20c89f44f0
Adds support for multiple hashes type and size in similar images, resize formats and also test to check performacne (#447) 2021-11-18 11:23:17 +01:00
Rafał Mikrut
a92a113714
Add maximum file size (#407)
* Add maximum file size

* Add maximum file size
2021-08-06 23:23:11 +02:00
Rafał Mikrut
909967dcd8
Update BKtree and blake3 and add new grouping algorithm (#405)
* Update BKtree and blake3

* Add new algorithm for similar images

* Improve algorithm of grouping similar images
2021-08-06 16:40:43 +02:00
Rafał Mikrut
0e9b8a1651
Use GtkScale instead radio buttons for similarity (#397)
* Use GtkScale instead radio buttons for similarity

* Fixes
2021-07-24 22:00:39 +02:00
Ben Bodenmiller
6510173bb6
Fix typo in commands.rs (#382) 2021-06-25 15:59:36 +02:00
Rafał Mikrut
b08cedd5a6
Allow to set minimal file size to caching (#321) 2021-05-06 21:54:44 +02:00
Danny Kirkham
4aed7c52c6
Fix typo in command description (#288) 2021-04-08 18:28:49 +02:00
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
7ac4a26229
Add progress bar (#106) 2020-12-02 10:25:27 +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
110d6015bc
Similar images improvements: (#97)
Headers without data
By default only checking for High Similarity(faster search)
2020-11-07 16:26:40 +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