Commit Graph

61 Commits (b63c631e14287e651193380e296c0fcf58165020)

Author SHA1 Message Date
Thomas Andreas Jung b63c631e14
Support hard links for similar images and videos with `-L` (#1201)
This ignores matches for files that have the same inode.

This only works on Unix.
4 months ago
Rafał Mikrut 6cde5ab7a0
Things dedup (#1183)
* Deduplicate cli settings

* Save

* Nice

* TODO even bigger generalization

* Simplification

* Bad
5 months ago
Rafał Mikrut 739e2a9860
Microoptimizations (#1153) 6 months ago
Rafał Mikrut 8b20f78573
Allow removing from CLI found image/music/video files (#1087)
* Bind delete

* Audio tags/content

* Tests

* Test videos

* FFmpeg
8 months ago
Rafał Mikrut 0462324607
Add json support to gui (#1083)
* Add json support to gui

* Cli support

* Tests

* Zip fixed

* Always printing

* Zip

* Bound

* Improved CI

* More tests

* Maybe

* Different duplicate delete
8 months ago
Rafał Mikrut 9b57382e39
Core cleanup/changes (#1082)
* FunTime

* Ft

* Unify delete files

* Files

* FunTime

* Smaller Printing

* Cleaned

* Fallen
8 months ago
Rafał Mikrut 582e5417ac
Unify progress data (#972)
* Unify progress data code

* Do not increment in threads values every time when finding file/folder(works quite good, may works bad with folders with ~several thousands of files)

* Partial changes

* Simplify creating tree_view

* Allow setting thread number in CLI

* Simplified code and add tests with help of copilot
1 year ago
Rafał Mikrut 5272309341
Implement finding duplicates by size/name (#956)
* Implementing Size+Name method

* Partial hashing

* Move hashing into different functions

* Update

* Add some code

* Split code into parts

* Entry size

* Simplify code

* Bottom Buttons

* Bottom Buttons

* Confusion

* Libheif

* Simplified sorting

* Revert libheif change
1 year ago
Alex e6b19270a6
Update to clap 4 (#878) 1 year ago
Rafał Mikrut a66a2849d1
Allow to set number of used threads in scan (#839) 2 years ago
Kian-Meng Ang ddc4def99e
Fix typos (#840)
Found via `codespell -S i18n -L crate,nd,gir,noo`
2 years ago
0x4A6F e20f30c66f
Reintroduce support for version argument e.g. (#806)
`czkawka_cli --version`
2 years ago
Alexis Lefebvre 95d1d73a29
CLI: rewrite the message for minimal file size (#807) 2 years ago
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
2 years ago
Rafał Mikrut e3cea67634
Default to 16 hash size and add "Original" similarity (#768) 2 years ago
Rafał Mikrut d42e17c15f
Update to clap from structopt (#759) 2 years ago
Rafał Mikrut cf94ab918e
Reformat code with Intelij tool (#741) 2 years ago
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.
2 years ago
ChihWei Wang c64ab05648
Add exclude other filesystems option (#673) 2 years ago
Rafał Mikrut 2d8a930ae5
Update image-rs and fix selecting windows path (#656) 2 years ago
Rafał Mikrut 3ce5d4a967
Change AudioTags to lofty and support moree audio things (#590) 2 years ago
Peter Blackson 51df63b8ea
Implement DirTraversal (#531)
* Implement DirTraversal

* rustfmt

* Fix for options

* Fix entries

* Fix symlinks

* Fix other entry type
2 years ago
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.
2 years ago
Rafał Mikrut c8ade1fb0f
Use system language when available (#506)
* Use system language when available

* Use clippy nightly
2 years ago
Rafał Mikrut f334bd6975
Add better custom selecting (#479) 3 years ago
Rafał Mikrut fce8ba8ddf Update instructions 3 years ago
Rafał Mikrut 1fd53b854b
Add prehash cache support (#477) 3 years ago
Rafał Mikrut 51271dcdf0
Remove HashMB mode (#476)
* Remove HashMB mode

* Add some explanation and remove this from GUI

* Not needing to handle everything
3 years ago
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)
3 years ago
Rafał Mikrut cf2e822435 Reformat code with idea tool 3 years ago
Rafał Mikrut b7e4eaccaf Modified include organization 3 years ago
Rafał Mikrut 78b49dee3d
Remove support for zeroed files (#461) 3 years ago
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
3 years ago
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
3 years ago
Rafał Mikrut 20c89f44f0
Adds support for multiple hashes type and size in similar images, resize formats and also test to check performacne (#447) 3 years ago
Rafał Mikrut a92a113714
Add maximum file size (#407)
* Add maximum file size

* Add maximum file size
3 years ago
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
3 years ago
Rafał Mikrut 0e9b8a1651
Use GtkScale instead radio buttons for similarity (#397)
* Use GtkScale instead radio buttons for similarity

* Fixes
3 years ago
Ben Bodenmiller 6510173bb6
Fix typo in commands.rs (#382) 3 years ago
Rafał Mikrut b08cedd5a6
Allow to set minimal file size to caching (#321) 3 years ago
Danny Kirkham 4aed7c52c6
Fix typo in command description (#288) 3 years ago
Rafał Mikrut 50ad3f9873
Update to Rust 1.5.1 (#302) 3 years ago
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-----------------------------
    ```
3 years ago
Rafał Mikrut 4c770b582b
Add option to not ignore hard links (#273) 3 years ago
Thomas Andreas Jung 0f12897687
Support the hash type parameter in the CLI (#267)
https://github.com/qarmin/czkawka/issues/266
3 years ago
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
3 years ago
Rafał Mikrut 6e89bcb507
Add cache for broken files (#204) 3 years ago
Rafał Mikrut eeaaea20cc
Add broken files support (#202) 3 years ago
Rafał Mikrut 7992ba30de
Fix included/excluded files which contains commas (#195) 3 years ago
Rafał Mikrut 880787a67f
Show errors in image previewer when failed to generate it (#130) 3 years ago