Peter Blackson
db3b1f5304
Use DirTraversal for similar music ( #559 )
...
* Use DirTraversal for similar music
* Simplify file type checking
* Fix for clippy
2022-01-05 16:43:26 +01:00
Rafał Mikrut
24ad6b3857
Do not allow showing one result in 2 different groups ( #560 )
2022-01-05 15:20:21 +01:00
Rafał Mikrut
2c725e8e68
Fix duplicated entries when using fast compare option ( #557 )
2022-01-04 10:46:23 +01:00
Peter Blackson
db47e8b711
Use DirTraversal for empty folders ( #544 )
2022-01-03 18:13:07 +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
0f0e7a338f
[WIP] Add raw images support ( #532 )
...
* Add raw images support
* Potato
* Update
2021-12-31 22:34:24 +01:00
Rafał Mikrut
de964ce40d
Handle image crashes ( #530 )
...
* Don't crash when checking images
* Don't crash when checking images
* Don't crash when checking images
* HERE
* REME
* REE
2021-12-29 13:43:38 +01:00
Rafał Mikrut
382f12acb3
Fast compare option ( #529 )
2021-12-28 21:20:48 +01:00
Rafał Mikrut
7da578fa7f
Optimize a little image compare algorithm ( #528 )
...
* Split checking images at 2 functions
* Optimize a little image finding
* 1.54.0 farawell
2021-12-28 20:20:24 +01:00
Rafał Mikrut
d8dc176e63
Small changes and fixes
2021-12-26 12:08:37 +01:00
Rafał Mikrut
1f5fca3f46
Add new step to check progress of comparing images. ( #525 )
...
Fix empty loaded items in e.g. Excluded Directories.
Fix bug with non-loading proper image results
2021-12-25 22:23:18 +01:00
Rafał Mikrut
c4f26883b1
Add reference folders ( #516 )
...
* Add reference folder
* Basic tree view cleaning
* Computations
* Similar Images
* Muzyka i Wideo
* Podwójne dwa razy, cztery razy!
* Rozmiar i Nazwa
* Spanko i działanko(przynajmniej zdaje mi się że działa)
* Translatanko
2021-12-24 09:18:55 +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
fbb25c31b8
Ignore ascii non alphabetic characters in approximate search ( #513 )
2021-12-21 09:13:35 +01:00
Rafał Mikrut
0a924d2355
Improve translations ( #507 )
...
* Improve translations
* Imports
2021-12-19 14:45:10 +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
619e64466c
More GTK4 compatibility fixes ( #503 )
...
* Don't create new treeview
* Dont
* ABC
* Detlaff
* Update
2021-12-17 19:44:29 +01:00
Rafał Mikrut
cf668d02a7
Implement threaded search in rest of modes(except empty folders) ( #504 )
...
* Implement threaded search in rest of modes(except empty folders)
* Add more tools in gui to use allowed extension
* Change progress window to modal
* Nazair
* Clippy
2021-12-17 19:29:37 +01:00
Peter Blackson
859e01b30e
Parallel BFS with Rayon ( #502 )
...
* Tester
* Parallel BFS with Rayon
* Rustfmt
* Refactor code
* Use `extend` instead of `append`
* Remove no longer needed derives
2021-12-16 20:49:59 +01:00
Rafał Mikrut
c041ab416e
Better ignore same size files ( #501 )
2021-12-13 20:13:49 +01:00
Rafał Mikrut
975b285c1f
Make UI take less space ( #500 )
2021-12-13 19:13:53 +01:00
Rafał Mikrut
89f24f14b5
Use translated strings in more places ( #498 )
2021-12-12 12:02:53 +01:00
Rafał Mikrut
77a48ca6aa
Add support for translations ( #469 )
...
* Reformat code with idea tool
* Pierwsza działająca wersja tłumaczeń
* Działa? I dobrze, bo ma działać
* Ćma szła i się potkła
* Ściął śmiałek źółty rząd pąków.
2021-12-11 16:16:14 +01:00
Rafał Mikrut
5f774e03bd
Add button to ignore images with non unique size. ( #493 )
...
This will help with finding different images(non 1:1 which could be easily found by duplicate finder tool)
2021-12-08 23:08:05 +01:00
Rafał Mikrut
a8aa8a2a23
Multiple small changes ( #490 )
2021-12-05 21:01:16 +01:00
Farmadupe
88b8f11e07
Cache vidoes with serde to avoid forked vid_dup_finder_lib ( #486 )
...
* Cache vidoes with serde to avoid forked vid_dup_finder_lib
* Fix clippy lint.
* Replace json serialization with bincode for videos
2021-12-05 18:34:12 +01:00
Rafał Mikrut
5296e1c708
Better comparison of music tags ( #485 )
2021-12-04 14:49:43 +01:00
Rafał Mikrut
ce3d86fd4e
Approximate comparison of music ( #483 )
2021-12-04 09:29:29 +01:00
Rafał Mikrut
f334bd6975
Add better custom selecting ( #479 )
2021-12-02 15:33:06 +01:00
Rafał Mikrut
bb428171cb
Add better custom selecting ( #478 )
2021-12-02 13:31:10 +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
f2333b9df2
Save to cache info about broken, too short etc. images and videos ( #471 )
2021-11-29 13:53: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
d302c3b2d8
Update cache creating
2021-11-27 20:42:31 +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
9d28fb8a59
Release 3.3.0
2021-11-20 12:06:44 +01:00
Rafał Mikrut
052711bb4b
Add button for moving files/folders to choosen folder ( #449 )
...
* Add button for moving files/folders to choosen folder
* Add support for moving folders to other locations
2021-11-20 08:32:28 +01:00
Rafał Mikrut
49effca169
Disable partially supported webp<
...
Disable unrecognized pnm files
2021-11-19 06:53:01 +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
742139379c
Add better errors explanation(native from libraries) ( #446 )
2021-11-14 15:53:55 +01:00
Rafał Mikrut
dc8c14ea3c
Disable crashing image extensions ( #445 )
...
Bump minimal Rust to 1.53.0
Update Packages
2021-11-09 07:08:39 +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
da76f75e11
Update Rust to 1.54 ( #400 )
2021-07-30 07:16:35 +02:00
tecome
a342ddfba7
Add webp support to similar images ( #396 )
2021-07-25 08:18:35 +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
Rafał Mikrut
a623f2be00
Update all dependencies except trash which don't crosscompile on Windows ( #395 )
...
* Update all dependencies except trash which don't crosscompile on Windows
2021-07-21 21:48:21 +02:00
Rafał Mikrut
cc0dcc2714
Fix excluded items on Windows ( #324 )
2021-05-08 21:54:01 +02:00
Rafał Mikrut
4fc8655272
Sort cache and allow to optimize later other code ( #322 )
2021-05-08 18:29:52 +02:00
Rafał Mikrut
b08cedd5a6
Allow to set minimal file size to caching ( #321 )
2021-05-06 21:54:44 +02:00
Rafał Mikrut
775b6b4f10
Fix crashes with too small message queue ( #316 )
2021-04-14 08:23:59 +02:00
Rafał Mikrut
0fa6692d39
Fix error with saving results of name duplicates ( #307 )
2021-04-01 11:37:16 +02:00
Rafał Mikrut
50ad3f9873
Update to Rust 1.5.1 ( #302 )
2021-03-27 13:14:02 +01:00
Rafał Mikrut
0bbe9fe4a3
Revert "Disable for now broken tga and gif files ( #270 )"
...
This reverts commit 87f5ca63
2021-03-06 13:36:00 +01:00
Rafał Mikrut
17f97bd958
Add option to turn off cache ( #263 )
2021-03-04 12:09:53 +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
Thomas Andreas Jung
ed7b197100
Use one implementation for all duplicate file removales ( #278 )
2021-02-27 09:00:59 +01:00
Rafał Mikrut
13add1cbed
Add hardlinking support for GUI ( #276 )
2021-02-24 13:53:46 +01:00
Rafał Mikrut
4c770b582b
Add option to not ignore hard links ( #273 )
2021-02-22 20:14:33 +01:00
Rafał Mikrut
87f5ca63b9
Disable for now broken tga and gif files ( #270 )
2021-02-22 11:17:32 +01:00
Thomas Andreas Jung
e3457edab2
Use one implementation for all hash calculations ( #268 )
...
All implementations are the same they only differ by hasher and the file read
limit.
2021-02-22 10:52:21 +01:00
Thomas Andreas Jung
1e94587de8
Ignore duplicates if those are hard links ( #234 )
...
This is a proof of concept.
```
$ echo a > hardlinks/a
$ cp hardlinks/{a,b}
$ ln hardlinks/{a,c}
$ cargo run --bin czkawka_cli dup -m 1 --directories $(pwd)/hardlinks -f /dev/stderr > /dev/null
-------------------------------------------------Files with same hashes-------------------------------------------------
Found 1 duplicated files which in 1 groups which takes 2 B.
---- Size 2 B (2) - 2 files
/home/thomas/Development/czkawka/hardlinks/a
/home/thomas/Development/czkawka/hardlinks/b
```
Open:
- Windows support
- Probably this should be a cli option
2021-02-20 12:28:06 +01:00
Thomas Andreas Jung
03d41e173f
Keep original file if replacing duplicate with hardlink fails ( #253 )
...
If the user could not create a hard link (due to permissions or
different block devices) then czkawka lost the duplicate file.
```
$ mkdir hardlink
$ cd hardlink
$ echo a > a
$ cp a b
$ chown thetestuser:thetestuser a
$ ls -il .
25169246 -rw-rw-r-- 1 thetestuser thetestuser 2 Feb 7 11:18 a
25169641 -rw-rw-r-- 1 thomas thomas 2 Feb 7 11:18 b
$ cargo run --bin czkawka_cli dup --directories $(pwd) -m 1 -f
test101.result --delete-method HARD
[...]
-------------------------------WARNINGS--------------------------------
Failed to link /home/thomas/Development/czkawka/hardlink/b ->
/home/thomas/Development/czkawka/hardlink/a
---------------------------END OF WARNINGS-----------------------------
$ ls -il .
25169246 -rw-rw-r-- 1 thetestuser thetestuser 2 Feb 7 11:18 a
```
Now czkawka keeps all files and the warning provides more information
why czkawka can't replace the duplicate with a hard link.
```
$ cargo run --bin czkawka_cli dup --directories $(pwd) -m 1 -f
test101.result --delete-method HARD
-------------------------------WARNINGS--------------------------------
Failed to link /home/thomas/Development/czkawka/hardlink/b ->
/home/thomas/Development/czkawka/hardlink/a (Operation not permitted (os
error 1))
---------------------------END OF WARNINGS-----------------------------
[...]
25169246 -rw-rw-r-- 1 thetestuser thetestuser 2 Feb 7 11:18 a
25169641 -rw-rw-r-- 1 thomas thomas 2 Feb 7 11:18 b
```
2021-02-11 19:04:23 +01:00
Rafał Mikrut
10156ccfd3
Uncomment code about saving similar images result to file
2021-02-09 17:29:49 +01:00
Rafał Mikrut
df44f9c342
Update list of checked images ( #252 )
2021-02-06 14:24:15 +01:00
Rafał Mikrut
9bb574235a
Add checking for broken music opt-in ( #249 )
2021-02-05 19:07:20 +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
9f3da0e70f
Add support for CRC32 and XXH3 hash ( #243 )
2021-02-03 19:59:06 +01:00
Rafał Mikrut
7d8334bb0c
Add template for multiple hashes ( #240 )
2021-02-03 18:11:04 +01:00
Rafał Mikrut
b8049efe62
Remove checking for ico in similar images ( #227 )
2021-01-25 11:32:10 +01:00
Rafał Mikrut
49ddc041ee
Add about dialog ( #226 )
2021-01-24 12:01:02 +01:00
Rafał Mikrut
e1beaeed28
Decrease ram usage ( #212 )
2021-01-15 12:41:45 +01:00
Rafał Mikrut
cc8d42e0ff
Add support for finding broken zip and audio files ( #210 )
2021-01-15 11:04:52 +01:00
Rafał Mikrut
7ec665ab7a
Add cache for duplicate ( #205 )
2021-01-14 12:17:15 +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
1a011644bf
Remove save workaround and fix crashes ( #200 )
2021-01-12 13:48:34 +01:00
Rafał Mikrut
80bbc9ba85
Move image cache to cache from config dir ( #197 )
2021-01-11 09:54:23 +01:00
Rafał Mikrut
7992ba30de
Fix included/excluded files which contains commas ( #195 )
2021-01-10 20:44:10 +01:00
Rafał Mikrut
9975605f75
Add buffered write/read ( #186 )
2021-01-09 11:52:43 +01:00
Rafał Mikrut
3adbfdc5b6
Remove some debug variables ( #185 )
2021-01-07 23:20:51 +01:00
Rafał Mikrut
8d4a264c6d
Use master gtk plugin again ( #179 )
...
* Use master gtk plugin again
2021-01-03 16:54:07 +01:00
Rafał Mikrut
72d74dd8e2
Adds Mac GUI ( #160 )
...
* Adds Mac GUI
* Update Rust to 1.4.9
2020-12-31 19:53:49 +01:00
Rafał Mikrut
083db7aa51
Add manual adding of directories ( #165 )
2020-12-30 13:41:18 +01:00
Rafał Mikrut
10c32c90c0
Add support for delete button ( #159 )
2020-12-29 19:31:09 +01:00
Rafał Mikrut
33545dfa22
Fix using empty hash ( #140 )
2020-12-27 14:42:26 +01:00
Rafał Mikrut
3f333e7ceb
Add cache support for similar images ( #139 )
2020-12-27 10:56:26 +01:00
Rafał Mikrut
05c8153b1a
Add more default excluded items
2020-12-23 22:17:04 +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
5672431257
Add minimal similarity level ( #129 )
2020-12-23 20:10:10 +01:00
Rafał Mikrut
4e3a6f63fe
Add new windows dark theme ( #125 )
2020-12-21 18:22:59 +01:00
Rafał Mikrut
1d59199bb2
Add support for checking for invalid symlinks ( #124 )
2020-12-21 16:09:39 +01:00
Rafał Mikrut
40f981dcd3
Add custom selection/unselection ( #117 )
2020-12-14 13:07:35 +01:00
Rafał Mikrut
7ac4a26229
Add progress bar ( #106 )
2020-12-02 10:25:27 +01:00
Rafał Mikrut
4dfb960e85
Small cosmetic changes to readme and similar images
...
Also added support for m4a music tags
2020-11-22 11:03:15 +01:00