Adin
This commit is contained in:
parent
dc5b282276
commit
565823316b
287
Changelog.md
287
Changelog.md
|
@ -1,287 +0,0 @@
|
|||
## Version 4.0.0 - ?
|
||||
- Multithreading support for collecting files to check(2/3x speedup on 4 thread processor and SSD) - [#502](https://github.com/qarmin/czkawka/pull/502), [#504](https://github.com/qarmin/czkawka/pull/504)
|
||||
- Add Polish, German and Italian translation - [#469](https://github.com/qarmin/czkawka/pull/469), [#508](https://github.com/qarmin/czkawka/pull/508), [5be](https://github.com/qarmin/czkawka/commit/5be801e76395855f07ab1da43cdbb8bd0b843834)
|
||||
- Add support for finding similar videos - [#460](https://github.com/qarmin/czkawka/pull/460)
|
||||
- GUI code refactoring(could fix some bugs) - [#462](https://github.com/qarmin/czkawka/pull/462)
|
||||
- Fixed crash when trying to hard/symlink 0 files - [#462](https://github.com/qarmin/czkawka/pull/462)
|
||||
- GTK 4 compatibility improvements for future change of toolkit - [#467](https://github.com/qarmin/czkawka/pull/467), [#468](https://github.com/qarmin/czkawka/pull/468), [#473](https://github.com/qarmin/czkawka/pull/473), [#474](https://github.com/qarmin/czkawka/pull/474), [#503](https://github.com/qarmin/czkawka/pull/503), [#505](https://github.com/qarmin/czkawka/pull/505)
|
||||
- Change minimal supported OS to Ubuntu 20.04(needed by GTK) - [#468](https://github.com/qarmin/czkawka/pull/468)
|
||||
- Increased performance by avoiding creating unnecessary image previews - [#468](https://github.com/qarmin/czkawka/pull/468)
|
||||
- Improved performance due caching hash of broken/not supported images/videos = [#471](https://github.com/qarmin/czkawka/pull/471)
|
||||
- Option to not remove cache from non existent files(e.g. from unplugged pendrive) - [#472](https://github.com/qarmin/czkawka/pull/472)
|
||||
- Add multiple tooltips with helpful messages - [#472](https://github.com/qarmin/czkawka/pull/472)
|
||||
- Allow caching prehash - [#477](https://github.com/qarmin/czkawka/pull/477)
|
||||
- Improve custom selecting of records(allows to use Rust regex) - [#489](https://github.com/qarmin/czkawka/pull/478)
|
||||
- Remove support for finding zeroed files - [#461](https://github.com/qarmin/czkawka/pull/461)
|
||||
- Remove HashMB mode - [#476](https://github.com/qarmin/czkawka/pull/476)
|
||||
- Approximate comparison of music - [#483](https://github.com/qarmin/czkawka/pull/483)
|
||||
- Enable column sorting for simple treeview - [#487](https://github.com/qarmin/czkawka/pull/487)
|
||||
- Allow hiding upper panel - [#491](https://github.com/qarmin/czkawka/pull/491)
|
||||
- Make UI take less space - [#500](https://github.com/qarmin/czkawka/pull/500)
|
||||
- Add support for raw images(NEF, CR2, KDC...) - [#532](https://github.com/qarmin/czkawka/pull/532)
|
||||
- Image compare performance and usability improvements - [#529](https://github.com/qarmin/czkawka/pull/529), [#528](https://github.com/qarmin/czkawka/pull/528), [#530](https://github.com/qarmin/czkawka/pull/530), [#525](https://github.com/qarmin/czkawka/pull/525)
|
||||
- Reorganize(unify) saving/loading data from file - [#524](https://github.com/qarmin/czkawka/pull/524)
|
||||
- Add "reference folders" - [#516](https://github.com/qarmin/czkawka/pull/516)
|
||||
|
||||
## Version 3.3.1 - 22.11.2021r
|
||||
- Fix crash when moving buttons [#457](https://github.com/qarmin/czkawka/pull/457)
|
||||
- Hide move button at start [c9ca230](https://github.com/qarmin/czkawka/commit/c9ca230dfd05e2166b2d68683b091cfd45037edd)
|
||||
|
||||
## Version 3.3.0 - 20.11.2021r
|
||||
- Select files by pressing space key [#415](https://github.com/qarmin/czkawka/pull/415)
|
||||
- Add additional info to printed errors [#446](https://github.com/qarmin/czkawka/pull/446)
|
||||
- Add support for multiple image filters, hashes and sizes in similar images tool [#447](https://github.com/qarmin/czkawka/pull/447), [#448](https://github.com/qarmin/czkawka/pull/448)
|
||||
- Button to move files/folders to provided location [#449](https://github.com/qarmin/czkawka/pull/449)
|
||||
- Add non clickable button to fix white theme [#450](https://github.com/qarmin/czkawka/pull/450)
|
||||
- Fixed freeze when opening in same thread file/folder [#448](https://github.com/qarmin/czkawka/pull/448)
|
||||
- Tool to check performance of different image filters and hash types and sizes [#447](https://github.com/qarmin/czkawka/pull/447)
|
||||
- Add scheduled CI and pin it to support Rust 1.53.0 [7bb](https://github.com/qarmin/czkawka/commit/7bbdf742739a513b80d0cc06ba61dfafec976b23), [#431](https://github.com/qarmin/czkawka/pull/431)
|
||||
- Update snap file to use builtin rust plugin and update gnome extension [8f2](https://github.com/qarmin/czkawka/commit/8f232285e5c34bee6d5da8e1453d7f40a0ffd08d)
|
||||
- Disable from checking in similar images `webp`, `gif`, `bmp`, `ico` extension which caused crashes [#445](https://github.com/qarmin/czkawka/pull/446), [49e](https://github.com/qarmin/czkawka/commit/49effca169adb57b33f666757966d43b244319cc)
|
||||
|
||||
## Version 3.2.0 - 07.08.2021r
|
||||
- Use checkbox instead selection to select files [#392](https://github.com/qarmin/czkawka/pull/392)
|
||||
- Re-enable hardlink on windows - [#410](https://github.com/qarmin/czkawka/pull/410)
|
||||
- Fix symlink and harlink creating - [#409](https://github.com/qarmin/czkawka/pull/409)
|
||||
- Add image preview to duplicate finder [#408](https://github.com/qarmin/czkawka/pull/408)
|
||||
- Add setting maximum file size [#407](https://github.com/qarmin/czkawka/pull/407)
|
||||
- Add new grouping algorithm to similar images [#405](https://github.com/qarmin/czkawka/pull/405)
|
||||
- Update to Rust 1.54 [#400](https://github.com/qarmin/czkawka/pull/400)
|
||||
- Add webp support to similar images [#396](https://github.com/qarmin/czkawka/pull/396)
|
||||
- Use GtkScale instead radio buttons for similarity [#397](https://github.com/qarmin/czkawka/pull/397)
|
||||
- Update all dependencies [#405](https://github.com/qarmin/czkawka/pull/405), [#395](https://github.com/qarmin/czkawka/pull/395)
|
||||
- Split UI into multiple files [#391](https://github.com/qarmin/czkawka/pull/391)
|
||||
- Update to gtk-rs 0.14 [#383](https://github.com/qarmin/czkawka/pull/383)
|
||||
- Fix bug with moving windows [#361](https://github.com/qarmin/czkawka/pull/361)
|
||||
- Generate Minimal Appimage [#339](https://github.com/qarmin/czkawka/pull/339)
|
||||
|
||||
## Version 3.1.0 - 09.05.2021r
|
||||
- Clean README, by moving instructions to different files - [9aea6e9b](https://github.com/qarmin/czkawka/commit/9aea6e9b1ef5ac1e56ccd008e7456b80401179d0)
|
||||
- Fix excluded items on Windows - [#324](https://github.com/qarmin/czkawka/pull/324)
|
||||
- Center windows and add missing settings icon - [#323](https://github.com/qarmin/czkawka/pull/323)
|
||||
- Sort cache - [#322](https://github.com/qarmin/czkawka/pull/322)
|
||||
- Add desktop file to Snap - [018d5bebb](https://github.com/qarmin/czkawka/commit/018d5bebb0b297ba35529b03b8e2e68eb0a9b474), [ade2a756e2](https://github.com/qarmin/czkawka/commit/ade2a756e29c5ce5739d6268fcab7e76f59ed5f6)
|
||||
- Customize minimum file size of cached records - [#321](https://github.com/qarmin/czkawka/pull/321)
|
||||
- Update benchmarks - [2044b9185](https://github.com/qarmin/czkawka/commit/2044b91852fea89dfaf10dc1ab79c1d00e9e0c12)
|
||||
- Rearrange Instruction - [8e7ac4a2d7f5b0](https://github.com/qarmin/czkawka/commit/8e7ac4a2d7f5b0beba2552581fb3a0d19c2efeb5)
|
||||
- Add info that Czkawka and Bleachbit are not alternatives to each other - [30602a486](https://github.com/qarmin/czkawka/commit/30602a486f6ade6f9b7b91a73708225b4f4c2a7d)
|
||||
- Fix crashes with too small message queue - [#316](https://github.com/qarmin/czkawka/pull/316)
|
||||
- Fix a little unsorted results - [#304](https://github.com/qarmin/czkawka/pull/304)
|
||||
- Fix Appimage(external bug) - [#299](https://github.com/qarmin/czkawka/issues/299)
|
||||
- Fix error with saving results of name duplicates - [#307](https://github.com/qarmin/czkawka/pull/307)
|
||||
- Update to Rust 1.5.1 - [#302](https://github.com/qarmin/czkawka/pull/302)
|
||||
|
||||
## Version 3.0.0 - 11.03.2021r
|
||||
- Option to not ignore hardlinks - [#273](https://github.com/qarmin/czkawka/pull/273)
|
||||
- Hardlink support for GUI - [#276](https://github.com/qarmin/czkawka/pull/276)
|
||||
- New settings window - [#262](https://github.com/qarmin/czkawka/pull/262)
|
||||
- Unify file removing - [#278](https://github.com/qarmin/czkawka/pull/278)
|
||||
- Dryrun in duplicates CLI - [#277](https://github.com/qarmin/czkawka/pull/277)
|
||||
- Option to turn off cache - [#263](https://github.com/qarmin/czkawka/pull/263)
|
||||
- Update Image dependency and fix crashes - [#270](https://github.com/qarmin/czkawka/pull/270), [e3aca69](https://github.com/qarmin/czkawka/commit/e3aca69499966499413e4b7cd4d1037bec6a5d68)
|
||||
- Add confirmation dialog when trying to remove all files in group - [#281](https://github.com/qarmin/czkawka/pull/281)
|
||||
- Add confirmation dialog when removing files with delete key - [#282](https://github.com/qarmin/czkawka/pull/282)
|
||||
- Open file when clicking at the Enter button - [#285](https://github.com/qarmin/czkawka/pull/285)
|
||||
- Allow to put files to trash instead fully remove them - [#284](https://github.com/qarmin/czkawka/pull/284)
|
||||
|
||||
## Version 2.4.0 - 22.02.2021r
|
||||
- Add about dialog - [#226](https://github.com/qarmin/czkawka/pull/226)
|
||||
- Remove checking for ico in similar images - [#227](https://github.com/qarmin/czkawka/pull/227)
|
||||
- Change progress dialog to progress window - [#229](https://github.com/qarmin/czkawka/pull/229)
|
||||
- Restore snap confinement - [#218](https://github.com/qarmin/czkawka/pull/218), [8dcb718](https://github.com/qarmin/czkawka/commit/8dcb7188434e1c1728368642e17ccec29a4b372d)
|
||||
- Add support for CRC32 and XXH3 hash - [#243](https://github.com/qarmin/czkawka/pull/243)
|
||||
- Add delete method to replace duplicate files with hard links - [#236](https://github.com/qarmin/czkawka/pull/236)
|
||||
- Add checking for broken music opt-in - [#249](https://github.com/qarmin/czkawka/pull/249)
|
||||
- Allow to save to files similar images results - [10156ccfd3](https://github.com/qarmin/czkawka/commit/10156ccfd3ba880d26d4bbad1e025b0050d7753b)
|
||||
- Keep original file if replacing duplicate with hardlink fails - [#256](https://github.com/qarmin/czkawka/pull/256)
|
||||
- Fix Windows theme - [#265](https://github.com/qarmin/czkawka/pull/265)
|
||||
- Windows taskbar progress support - [#264](https://github.com/qarmin/czkawka/pull/264)
|
||||
- Ignore duplicates if those are hard links - [#234](https://github.com/qarmin/czkawka/pull/234)
|
||||
- Support the hash type parameter in the CLI - [#267](https://github.com/qarmin/czkawka/pull/267)
|
||||
- Use one implementation for all hash calculations - [#268](https://github.com/qarmin/czkawka/pull/268)
|
||||
- Disable for now broken tga and gif files - [#270](https://github.com/qarmin/czkawka/pull/270)
|
||||
|
||||
## Version 2.3.2 - 21.01.2021r
|
||||
- Add support for moving selection by keyboard to update similar image preview [#223](https://github.com/qarmin/czkawka/pull/223)
|
||||
|
||||
This version is only needed to test flatpak build
|
||||
|
||||
## Version 2.3.1 - 20.01.2021r
|
||||
- Added flatpak support - [#203](https://github.com/qarmin/czkawka/pull/203)
|
||||
- Spell fixes - [#222](https://github.com/qarmin/czkawka/pull/222), [#219](https://github.com/qarmin/czkawka/pull/219)
|
||||
|
||||
## Version 2.3.0 - 15.01.2021r
|
||||
- Add cache for duplicate finder - [#205](https://github.com/qarmin/czkawka/pull/205)
|
||||
- Add cache for broken files - [#204](https://github.com/qarmin/czkawka/pull/204)
|
||||
- Decrease ram usage - [#212](https://github.com/qarmin/czkawka/pull/212)
|
||||
- Add support for finding broken zip and audio files - [#210](https://github.com/qarmin/czkawka/pull/210)
|
||||
- Sort Results by path where it is possible - [#211](https://github.com/qarmin/czkawka/pull/211)
|
||||
- Add missing popover info for invalid symlinks - [#209](https://github.com/qarmin/czkawka/pull/209)
|
||||
- Use the oldest available OS in Linux and Mac CI and the newest on Windows - [#206](https://github.com/qarmin/czkawka/pull/206)
|
||||
- Add broken files support - [#202](https://github.com/qarmin/czkawka/pull/202)
|
||||
- Remove save workaround and fix crashes when loading/saving cache - [#200](https://github.com/qarmin/czkawka/pull/200)
|
||||
- Fix error when closing dialog progress by X - [#199](https://github.com/qarmin/czkawka/pull/199)
|
||||
|
||||
## Version 2.2.0 - 11.01.2021r
|
||||
- Adds Mac GUI - [#160](https://github.com/qarmin/czkawka/pull/160)
|
||||
- Use master gtk plugin again - [#179](https://github.com/qarmin/czkawka/pull/179)
|
||||
- Only show preview when 1 image is selected - [#183](https://github.com/qarmin/czkawka/pull/183)
|
||||
- Add buffered write/read - [#186](https://github.com/qarmin/czkawka/pull/186)
|
||||
- Fix included/excluded files which contains commas - [#195](https://github.com/qarmin/czkawka/pull/195)
|
||||
- Move image cache to cache from config dir - [#197](https://github.com/qarmin/czkawka/pull/197)
|
||||
- Reorganize GUI Code(no visible changes) - [#184](https://github.com/qarmin/czkawka/pull/184), [#184](https://github.com/qarmin/czkawka/pull/184), [#189](https://github.com/qarmin/czkawka/pull/189), [#190](https://github.com/qarmin/czkawka/pull/190), [#194](https://github.com/qarmin/czkawka/pull/194)
|
||||
|
||||
## Version 2.1.0 - 31.12.2020r
|
||||
- Hide preview when deleting images or symlinking it - [#167](https://github.com/qarmin/czkawka/pull/167)
|
||||
- Add manual adding of directories - [#165](https://github.com/qarmin/czkawka/pull/165), [#168](https://github.com/qarmin/czkawka/pull/168)
|
||||
- Add resizable top panel - [#164](https://github.com/qarmin/czkawka/pull/164)
|
||||
- Add support for delete button - [#159](https://github.com/qarmin/czkawka/pull/159)
|
||||
- Allow to select multiple entries in File Chooser - [#154](https://github.com/qarmin/czkawka/pull/154)
|
||||
- Add cache support for similar images - [#139](https://github.com/qarmin/czkawka/pull/139)
|
||||
- Add selecting images with it's size - [#138](https://github.com/qarmin/czkawka/pull/138)
|
||||
- Modernize popovers code and simplify later changes - [#137](https://github.com/qarmin/czkawka/pull/137)
|
||||
|
||||
## Version 2.0.0 - 23.12.2020r
|
||||
- Add Snap support - [ee3d4](https://github.com/qarmin/czkawka/commit/ee3d450552cd0c37a114b05c557ff9381ef92466)
|
||||
- Select longer names by default - [#113](https://github.com/qarmin/czkawka/pull/113)
|
||||
- Add setting for deletion confirmation dialog - [#114](https://github.com/qarmin/czkawka/pull/114)
|
||||
- Add button to hide/show text view errors - [#115](https://github.com/qarmin/czkawka/pull/115)
|
||||
- Remove console window in Windows - [#116](https://github.com/qarmin/czkawka/pull/116)
|
||||
- Add custom selection/unselection - [#117](https://github.com/qarmin/czkawka/pull/117)
|
||||
- Add Image preview to similar images - [#118](https://github.com/qarmin/czkawka/pull/118)
|
||||
- Remove orbtk frontend - [#119](https://github.com/qarmin/czkawka/pull/119)
|
||||
- Update Icon - [#120](https://github.com/qarmin/czkawka/pull/120)
|
||||
- Add setting button to disable/enable previews(enabled by default) - [#121](https://github.com/qarmin/czkawka/pull/121)
|
||||
- Add button to enable/disable in settings text view errors - [#122](https://github.com/qarmin/czkawka/pull/122)
|
||||
- Add support for symbolic links - [#123](https://github.com/qarmin/czkawka/pull/123)
|
||||
- Add support for checking for invalid symlinks - [#124](https://github.com/qarmin/czkawka/pull/124)
|
||||
- Add new windows dark theme - [#125](https://github.com/qarmin/czkawka/pull/125)
|
||||
- Fix appimage crash by adding PNG version of icon - [#126](https://github.com/qarmin/czkawka/pull/126)
|
||||
- Split symlink path to two path and file name - [#127](https://github.com/qarmin/czkawka/pull/127)
|
||||
- Add option to open folders by double right click - [#128](https://github.com/qarmin/czkawka/pull/128)
|
||||
- Add minimal similarity level - [#129](https://github.com/qarmin/czkawka/pull/129)
|
||||
- Show errors in image previewer when failed to generate it - [#130](https://github.com/qarmin/czkawka/pull/130)
|
||||
- Added instruction - [58e6221a](https://github.com/qarmin/czkawka/commit/58e6221a0e02d17d07c71152f56b948f616751a8), [598aec345e](https://github.com/qarmin/czkawka/commit/598aec345e9f5ac199fc3d642c0699d5228100a6), [afaa402b](https://github.com/qarmin/czkawka/commit/afaa402b31526aa8e6b47f3670bc62b26ad9f60f)
|
||||
|
||||
## Version 1.5.1 - 08.12.2020r
|
||||
- Fix errors in progress bar caused by dividing by 0 - [#109](https://github.com/qarmin/czkawka/pull/109)
|
||||
- Add option to save file, store settings and load them - [#108](https://github.com/qarmin/czkawka/pull/108)
|
||||
- Center dialog to current window - [a04](https://github.com/qarmin/czkawka/commit/a047380dbe8aa4d04f9c482364469e21d231fab2)
|
||||
|
||||
## Version 1.5.0 - 02.12.2020r
|
||||
- Added progress bar - [#106](https://github.com/qarmin/czkawka/pull/106)
|
||||
- Removed unused buttons - [#107](https://github.com/qarmin/czkawka/pull/107)
|
||||
|
||||
## Version 1.4.0 - 09.11.2020r
|
||||
- Multithreading Support to most modules - [#98](https://github.com/qarmin/czkawka/pull/98) [#99](https://github.com/qarmin/czkawka/pull/99) [#100](https://github.com/qarmin/czkawka/pull/100) [#101](https://github.com/qarmin/czkawka/pull/101)
|
||||
- Simplify GUI code [#96](https://github.com/qarmin/czkawka/pull/96)
|
||||
- Group similar images - [#97](https://github.com/qarmin/czkawka/pull/97)
|
||||
- Add select buttons to each type of mode - [#102](https://github.com/qarmin/czkawka/pull/102)
|
||||
- Fix GUI behavior in GUI when deleting similar image - [#103](https://github.com/qarmin/czkawka/pull/103)
|
||||
- Add new similarity level - [#104](https://github.com/qarmin/czkawka/pull/104)
|
||||
|
||||
## Version 1.3.0 - 02.11.2020r
|
||||
- Appimage support - [#77](https://github.com/qarmin/czkawka/pull/77)
|
||||
- Removed warnings about non existend excluded directories - [#79](https://github.com/qarmin/czkawka/pull/79)
|
||||
- Updated README - [8ec](https://github.com/qarmin/czkawka/commit/8ecde0fc9adb3e6cedf432c4ba749e698b645a7a)
|
||||
- Added pre hash support(speedup for searching big duplicates) - [#83](https://github.com/qarmin/czkawka/pull/83)
|
||||
- Support for searching duplicates by file name - [#84](https://github.com/qarmin/czkawka/pull/84)
|
||||
- Added support for checking for zeroed file - [#88](https://github.com/qarmin/czkawka/pull/88)
|
||||
- Refactored GUI code to faster and safer changing/adding code - [#89](https://github.com/qarmin/czkawka/pull/89)
|
||||
- Added some missing options to CLI in some modes - [#90](https://github.com/qarmin/czkawka/pull/90)
|
||||
- Implemented finding duplicates by music tags - [#95](https://github.com/qarmin/czkawka/pull/95)
|
||||
|
||||
## Version 1.2.1 - 17.10.2020r
|
||||
- Make image similarity search significantly faster. [#72](https://github.com/qarmin/czkawka/pull/72)
|
||||
- Improve similar images GUI a little and add sorting to Similarity Enum [#73](https://github.com/qarmin/czkawka/pull/73)
|
||||
- Improve deleting files in Similar files in GUI [#75](https://github.com/qarmin/czkawka/pull/75)
|
||||
|
||||
## Version 1.2.0 - 15.10.2020r
|
||||
- Replace String with PathBuf for paths [#59](https://github.com/qarmin/czkawka/pull/59)
|
||||
- Add test suite to PR [#65](https://github.com/qarmin/czkawka/pull/65)
|
||||
- Support for finding similar images to CLI [#66](https://github.com/qarmin/czkawka/pull/66)
|
||||
- Fix grammar-related errors and Ponglish expressions [#62](https://github.com/qarmin/czkawka/pull/62), [#63](https://github.com/qarmin/czkawka/pull/63)
|
||||
- Don't delete by default files in duplicate finder in CLI - [23f203](https://github.com/qarmin/czkawka/commit/23f203a061e254275c95ca23ca4f1a78bd941f02)
|
||||
- Support for finding similar images to GUI [#69](https://github.com/qarmin/czkawka/pull/69)
|
||||
- Add support for opening files/folders from GUI with double-click [#70](https://github.com/qarmin/czkawka/pull/70)
|
||||
|
||||
## Version 1.1.0 - 10.10.2020r
|
||||
- Windows support [#58](https://github.com/qarmin/czkawka/pull/58)
|
||||
- Improve code quality/Simplify codebase [#52](https://github.com/qarmin/czkawka/pull/52)
|
||||
- Fixed skipping some correct results in specific situations [#52](https://github.com/qarmin/czkawka/pull/52#discussion_r502613895)
|
||||
- Added support for searching in other thread [#51](https://github.com/qarmin/czkawka/pull/51)
|
||||
- Divide CI across files [#48](https://github.com/qarmin/czkawka/pull/48)
|
||||
- Added ability to stop task from GUI [#55](https://github.com/qarmin/czkawka/pull/55)
|
||||
- Fixed removing directories which contains only empty directories from GUI [#57](https://github.com/qarmin/czkawka/pull/57)
|
||||
|
||||
## Version 1.0.1 - 06.10.2020r
|
||||
- Replaced default argument parser with StructOpt [#37](https://github.com/qarmin/czkawka/pull/37)
|
||||
- Added all(except MacOS GTK build) builds to CI where can be freely downloaded [#41](https://github.com/qarmin/czkawka/pull/41) [#39](https://github.com/qarmin/czkawka/pull/39)
|
||||
- App can be downloaded also from Arch AUR and Cargo [#36](https://github.com/qarmin/czkawka/pull/36)
|
||||
- Fixed crash with invalid file modification date [#33](https://github.com/qarmin/czkawka/issues/33)
|
||||
- Upper tabs can hide and show when this is necessary [#38](https://github.com/qarmin/czkawka/pull/38)
|
||||
- Fixed crash when file/folder name have non Unicode character [#44](https://github.com/qarmin/czkawka/issues/44)
|
||||
- Added support for finding similar pictures in GUI [#69](https://github.com/qarmin/czkawka/issues/69)
|
||||
|
||||
## Version 1.0.0 - 02.10.2020r
|
||||
- Added confirmation dialog to delete button
|
||||
- Updated Readme
|
||||
- Tested a lot app, so I think that it version 1.0.0 can be freely released
|
||||
|
||||
## Version 0.1.4 - 01.10.2020r
|
||||
- Fixes -f default argument
|
||||
- Added save button to GUI
|
||||
- Cleaned a little code
|
||||
- Deleting files and folders i GUI
|
||||
- Support for all notebooks items in GUI
|
||||
- Support for deleting and adding directories to search and to exclude in GUI
|
||||
- Support for light themes in GUI
|
||||
- Changed SystemTime to u64 from EPOCH_TIME
|
||||
- Selective selecting of rows duplicate finder in GUI
|
||||
- Changed minimum version of GTK to 3.22
|
||||
- Added save system to GUI
|
||||
- Added Big, Temporary and Empty folders finder to GUI
|
||||
|
||||
## Version 0.1.3 - 27.09.2020r
|
||||
- Big code refactoring - now is a lot of easier create new modules and maintain old ones
|
||||
- Added finding empty files
|
||||
- Added new option to find duplicates by checking hash max 1MB of file
|
||||
- Added support for finding temporary folder finder
|
||||
- Improved README
|
||||
- Simplify CLI help and improve it
|
||||
|
||||
## Version 0.1.2 - 26.09.2020r
|
||||
- Add basic search empty folders in GTK GUI
|
||||
- Remember place where button are placed
|
||||
- Read and parse more values from GUI
|
||||
- Print errors/warnings/messages to text field in GUI
|
||||
- Add upper notebook with included, excluded directories, items and extensions
|
||||
- Improve a little GUI
|
||||
- Add version argument which print version e.g. `czkawka_gui --version`
|
||||
- Simple Empty folder support in GUI
|
||||
- The biggest files support in CLI
|
||||
|
||||
## Version 0.1.1 - 20.09.2020r
|
||||
- Added images to readme
|
||||
- Better GTK buttons and glade file
|
||||
- Basic search in GTK
|
||||
- Cleaned core from println
|
||||
- Core functions doesn't use now process::exit(everything is done with help of messages/errors/warnings)
|
||||
- Added support for non recursive search
|
||||
- Improved finding number and size of duplicated files
|
||||
- Saving results to file
|
||||
- Print how much data was read by duplicate finder(debug only)
|
||||
- Added Github CI
|
||||
- Only debug build prints debug information's
|
||||
- Clean code
|
||||
- Add basic idea config to misc folder
|
||||
|
||||
## Version 0.1.0 - 07.09.2020r
|
||||
- Initial Version
|
||||
- Duplicate file finder
|
||||
- Empty folder finder
|
||||
- Very WIP Orbtk GUI frontend
|
||||
- Basic GTK Frontend(without any logic)
|
||||
- CLI
|
||||
|
||||
## Initial commit - 26.08.2020r
|
369
LICENSE
369
LICENSE
|
@ -1,369 +0,0 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2020-2021 Rafał Mikrut
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
|
||||
|
||||
|
||||
|
||||
Icons
|
||||
data/icons/com.github.qarmin.czkawka.Devel.svg
|
||||
data/icons/com.github.qarmin.czkawka.svg
|
||||
data/icons/com.github.qarmin.czkawka-symbolic.svg
|
||||
|
||||
CC BY 4.0 License
|
||||
|
||||
Copyright (c) 2020 [jannuary](https://github.com/jannuary)
|
||||
|
||||
License: CC-BY-4.0
|
||||
Creative Commons Attribution 4.0 International Public License
|
||||
.
|
||||
By exercising the Licensed Rights (defined below), You accept and agree
|
||||
to be bound by the terms and conditions of this Creative Commons
|
||||
Attribution 4.0 International Public License ("Public
|
||||
License"). To the extent this Public License may be interpreted as a
|
||||
contract, You are granted the Licensed Rights in consideration of Your
|
||||
acceptance of these terms and conditions, and the Licensor grants You
|
||||
such rights in consideration of benefits the Licensor receives from
|
||||
making the Licensed Material available under these terms and
|
||||
conditions.
|
||||
.
|
||||
Section 1 -- Definitions.
|
||||
.
|
||||
a. Adapted Material means material subject to Copyright and Similar
|
||||
Rights that is derived from or based upon the Licensed Material
|
||||
and in which the Licensed Material is translated, altered,
|
||||
arranged, transformed, or otherwise modified in a manner requiring
|
||||
permission under the Copyright and Similar Rights held by the
|
||||
Licensor. For purposes of this Public License, where the Licensed
|
||||
Material is a musical work, performance, or sound recording,
|
||||
Adapted Material is always produced where the Licensed Material is
|
||||
synched in timed relation with a moving image.
|
||||
.
|
||||
b. Adapter's License means the license You apply to Your Copyright
|
||||
and Similar Rights in Your contributions to Adapted Material in
|
||||
accordance with the terms and conditions of this Public License.
|
||||
.
|
||||
c. Copyright and Similar Rights means copyright and/or similar rights
|
||||
closely related to copyright including, without limitation,
|
||||
performance, broadcast, sound recording, and Sui Generis Database
|
||||
Rights, without regard to how the rights are labeled or
|
||||
categorized. For purposes of this Public License, the rights
|
||||
specified in Section 2(b)(1)-(2) are not Copyright and Similar
|
||||
Rights.
|
||||
.
|
||||
d. Effective Technological Measures means those measures that, in the
|
||||
absence of proper authority, may not be circumvented under laws
|
||||
fulfilling obligations under Article 11 of the WIPO Copyright
|
||||
Treaty adopted on December 20, 1996, and/or similar international
|
||||
agreements.
|
||||
.
|
||||
e. Exceptions and Limitations means fair use, fair dealing, and/or
|
||||
any other exception or limitation to Copyright and Similar Rights
|
||||
that applies to Your use of the Licensed Material.
|
||||
.
|
||||
f. Licensed Material means the artistic or literary work, database,
|
||||
or other material to which the Licensor applied this Public
|
||||
License.
|
||||
.
|
||||
g. Licensed Rights means the rights granted to You subject to the
|
||||
terms and conditions of this Public License, which are limited to
|
||||
all Copyright and Similar Rights that apply to Your use of the
|
||||
Licensed Material and that the Licensor has authority to license.
|
||||
.
|
||||
h. Licensor means the individual(s) or entity(ies) granting rights
|
||||
under this Public License.
|
||||
.
|
||||
i. Share means to provide material to the public by any means or
|
||||
process that requires permission under the Licensed Rights, such
|
||||
as reproduction, public display, public performance, distribution,
|
||||
dissemination, communication, or importation, and to make material
|
||||
available to the public including in ways that members of the
|
||||
public may access the material from a place and at a time
|
||||
individually chosen by them.
|
||||
.
|
||||
j. Sui Generis Database Rights means rights other than copyright
|
||||
resulting from Directive 96/9/EC of the European Parliament and of
|
||||
the Council of 11 March 1996 on the legal protection of databases,
|
||||
as amended and/or succeeded, as well as other essentially
|
||||
equivalent rights anywhere in the world.
|
||||
.
|
||||
k. You means the individual or entity exercising the Licensed Rights
|
||||
under this Public License. Your has a corresponding meaning.
|
||||
.
|
||||
Section 2 -- Scope.
|
||||
.
|
||||
a. License grant.
|
||||
.
|
||||
1. Subject to the terms and conditions of this Public License,
|
||||
the Licensor hereby grants You a worldwide, royalty-free,
|
||||
non-sublicensable, non-exclusive, irrevocable license to
|
||||
exercise the Licensed Rights in the Licensed Material to:
|
||||
.
|
||||
a. reproduce and Share the Licensed Material, in whole or
|
||||
in part; and
|
||||
.
|
||||
b. produce, reproduce, and Share Adapted Material.
|
||||
.
|
||||
2. Exceptions and Limitations. For the avoidance of doubt, where
|
||||
Exceptions and Limitations apply to Your use, this Public
|
||||
License does not apply, and You do not need to comply with
|
||||
its terms and conditions.
|
||||
.
|
||||
3. Term. The term of this Public License is specified in Section
|
||||
6(a).
|
||||
.
|
||||
4. Media and formats; technical modifications allowed. The
|
||||
Licensor authorizes You to exercise the Licensed Rights in
|
||||
all media and formats whether now known or hereafter created,
|
||||
and to make technical modifications necessary to do so. The
|
||||
Licensor waives and/or agrees not to assert any right or
|
||||
authority to forbid You from making technical modifications
|
||||
necessary to exercise the Licensed Rights, including
|
||||
technical modifications necessary to circumvent Effective
|
||||
Technological Measures. For purposes of this Public License,
|
||||
simply making modifications authorized by this Section 2(a)
|
||||
(4) never produces Adapted Material.
|
||||
.
|
||||
5. Downstream recipients.
|
||||
.
|
||||
a. Offer from the Licensor -- Licensed Material. Every
|
||||
recipient of the Licensed Material automatically
|
||||
receives an offer from the Licensor to exercise the
|
||||
Licensed Rights under the terms and conditions of this
|
||||
Public License.
|
||||
.
|
||||
b. No downstream restrictions. You may not offer or impose
|
||||
any additional or different terms or conditions on, or
|
||||
apply any Effective Technological Measures to, the
|
||||
Licensed Material if doing so restricts exercise of the
|
||||
Licensed Rights by any recipient of the Licensed
|
||||
Material.
|
||||
.
|
||||
6. No endorsement. Nothing in this Public License constitutes or
|
||||
may be construed as permission to assert or imply that You
|
||||
are, or that Your use of the Licensed Material is, connected
|
||||
with, or sponsored, endorsed, or granted official status by,
|
||||
the Licensor or others designated to receive attribution as
|
||||
provided in Section 3(a)(1)(A)(i).
|
||||
.
|
||||
b. Other rights.
|
||||
.
|
||||
1. Moral rights, such as the right of integrity, are not
|
||||
licensed under this Public License, nor are publicity,
|
||||
privacy, and/or other similar personality rights; however, to
|
||||
the extent possible, the Licensor waives and/or agrees not to
|
||||
assert any such rights held by the Licensor to the limited
|
||||
extent necessary to allow You to exercise the Licensed
|
||||
Rights, but not otherwise.
|
||||
.
|
||||
2. Patent and trademark rights are not licensed under this
|
||||
Public License.
|
||||
.
|
||||
3. To the extent possible, the Licensor waives any right to
|
||||
collect royalties from You for the exercise of the Licensed
|
||||
Rights, whether directly or through a collecting society
|
||||
under any voluntary or waivable statutory or compulsory
|
||||
licensing scheme. In all other cases the Licensor expressly
|
||||
reserves any right to collect such royalties.
|
||||
.
|
||||
Section 3 -- License Conditions.
|
||||
.
|
||||
Your exercise of the Licensed Rights is expressly made subject to the
|
||||
following conditions.
|
||||
.
|
||||
a. Attribution.
|
||||
.
|
||||
1. If You Share the Licensed Material (including in modified
|
||||
form), You must:
|
||||
.
|
||||
a. retain the following if it is supplied by the Licensor
|
||||
with the Licensed Material:
|
||||
.
|
||||
i. identification of the creator(s) of the Licensed
|
||||
Material and any others designated to receive
|
||||
attribution, in any reasonable manner requested by
|
||||
the Licensor (including by pseudonym if
|
||||
designated);
|
||||
.
|
||||
ii. a copyright notice;
|
||||
.
|
||||
iii. a notice that refers to this Public License;
|
||||
.
|
||||
iv. a notice that refers to the disclaimer of
|
||||
warranties;
|
||||
.
|
||||
v. a URI or hyperlink to the Licensed Material to the
|
||||
extent reasonably practicable;
|
||||
.
|
||||
b. indicate if You modified the Licensed Material and
|
||||
retain an indication of any previous modifications; and
|
||||
.
|
||||
c. indicate the Licensed Material is licensed under this
|
||||
Public License, and include the text of, or the URI or
|
||||
hyperlink to, this Public License.
|
||||
.
|
||||
2. You may satisfy the conditions in Section 3(a)(1) in any
|
||||
reasonable manner based on the medium, means, and context in
|
||||
which You Share the Licensed Material. For example, it may be
|
||||
reasonable to satisfy the conditions by providing a URI or
|
||||
hyperlink to a resource that includes the required
|
||||
information.
|
||||
.
|
||||
3. If requested by the Licensor, You must remove any of the
|
||||
information required by Section 3(a)(1)(A) to the extent
|
||||
reasonably practicable.
|
||||
.
|
||||
4. If You Share Adapted Material You produce, the Adapter's
|
||||
License You apply must not prevent recipients of the Adapted
|
||||
Material from complying with this Public License.
|
||||
.
|
||||
Section 4 -- Sui Generis Database Rights.
|
||||
.
|
||||
Where the Licensed Rights include Sui Generis Database Rights that
|
||||
apply to Your use of the Licensed Material:
|
||||
.
|
||||
a. for the avoidance of doubt, Section 2(a)(1) grants You the right
|
||||
to extract, reuse, reproduce, and Share all or a substantial
|
||||
portion of the contents of the database;
|
||||
.
|
||||
b. if You include all or a substantial portion of the database
|
||||
contents in a database in which You have Sui Generis Database
|
||||
Rights, then the database in which You have Sui Generis Database
|
||||
Rights (but not its individual contents) is Adapted Material; and
|
||||
.
|
||||
c. You must comply with the conditions in Section 3(a) if You Share
|
||||
all or a substantial portion of the contents of the database.
|
||||
.
|
||||
For the avoidance of doubt, this Section 4 supplements and does not
|
||||
replace Your obligations under this Public License where the Licensed
|
||||
Rights include other Copyright and Similar Rights.
|
||||
.
|
||||
Section 5 -- Disclaimer of Warranties and Limitation of Liability.
|
||||
.
|
||||
a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
|
||||
EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
|
||||
AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
|
||||
ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
|
||||
IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
|
||||
WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
|
||||
PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
|
||||
ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
|
||||
KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
|
||||
ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
|
||||
.
|
||||
b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
|
||||
TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
|
||||
NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
|
||||
INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
|
||||
COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
|
||||
USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
|
||||
ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
|
||||
DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
|
||||
IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
|
||||
.
|
||||
c. The disclaimer of warranties and limitation of liability provided
|
||||
above shall be interpreted in a manner that, to the extent
|
||||
possible, most closely approximates an absolute disclaimer and
|
||||
waiver of all liability.
|
||||
.
|
||||
Section 6 -- Term and Termination.
|
||||
.
|
||||
a. This Public License applies for the term of the Copyright and
|
||||
Similar Rights licensed here. However, if You fail to comply with
|
||||
this Public License, then Your rights under this Public License
|
||||
terminate automatically.
|
||||
.
|
||||
b. Where Your right to use the Licensed Material has terminated under
|
||||
Section 6(a), it reinstates:
|
||||
.
|
||||
1. automatically as of the date the violation is cured, provided
|
||||
it is cured within 30 days of Your discovery of the
|
||||
violation; or
|
||||
.
|
||||
2. upon express reinstatement by the Licensor.
|
||||
.
|
||||
For the avoidance of doubt, this Section 6(b) does not affect any
|
||||
right the Licensor may have to seek remedies for Your violations
|
||||
of this Public License.
|
||||
.
|
||||
c. For the avoidance of doubt, the Licensor may also offer the
|
||||
Licensed Material under separate terms or conditions or stop
|
||||
distributing the Licensed Material at any time; however, doing so
|
||||
will not terminate this Public License.
|
||||
.
|
||||
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
|
||||
License.
|
||||
.
|
||||
Section 7 -- Other Terms and Conditions.
|
||||
.
|
||||
a. The Licensor shall not be bound by any additional or different
|
||||
terms or conditions communicated by You unless expressly agreed.
|
||||
.
|
||||
b. Any arrangements, understandings, or agreements regarding the
|
||||
Licensed Material not stated herein are separate from and
|
||||
independent of the terms and conditions of this Public License.
|
||||
.
|
||||
Section 8 -- Interpretation.
|
||||
.
|
||||
a. For the avoidance of doubt, this Public License does not, and
|
||||
shall not be interpreted to, reduce, limit, restrict, or impose
|
||||
conditions on any use of the Licensed Material that could lawfully
|
||||
be made without permission under this Public License.
|
||||
.
|
||||
b. To the extent possible, if any provision of this Public License is
|
||||
deemed unenforceable, it shall be automatically reformed to the
|
||||
minimum extent necessary to make it enforceable. If the provision
|
||||
cannot be reformed, it shall be severed from this Public License
|
||||
without affecting the enforceability of the remaining terms and
|
||||
conditions.
|
||||
.
|
||||
c. No term or condition of this Public License will be waived and no
|
||||
failure to comply consented to unless expressly agreed to by the
|
||||
Licensor.
|
||||
.
|
||||
d. Nothing in this Public License constitutes or may be interpreted
|
||||
as a limitation upon, or waiver of, any privileges and immunities
|
||||
that apply to the Licensor or You, including from the legal
|
||||
processes of any jurisdiction or authority.
|
||||
|
||||
|
||||
GTK theme for Windows binaries
|
||||
MIT License
|
||||
|
||||
Copyright (c) 2019-2020 Nick Rhodes
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
in the Software without restriction, including without limitation the rights
|
||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
copies of the Software, and to permit persons to whom the Software is
|
||||
furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
179
README.md
179
README.md
|
@ -1,179 +0,0 @@
|
|||
![com github qarmin czkawka](https://user-images.githubusercontent.com/41945903/102616149-66490400-4137-11eb-9cd6-813b2b070834.png)
|
||||
|
||||
**Czkawka** (_tch•kav•ka_ (IPA: [ʈ͡ʂkafka]), "hiccup" in Polish) is a simple, fast and free app to remove unnecessary files from your computer.
|
||||
|
||||
## Features
|
||||
- Written in memory safe Rust
|
||||
- Amazingly fast - due to using more or less advanced algorithms and multithreading
|
||||
- Free, Open Source without ads
|
||||
- Multiplatform - works on Linux, Windows and macOS
|
||||
- Cache support - second and further scans should be a lot faster than the first one
|
||||
- CLI frontend - for easy automation
|
||||
- GUI frontend - uses modern GTK 3 and looks similar to FSlint
|
||||
- No spying - Czkawka does not have access to the Internet, nor does it collect any user information or statistics
|
||||
- Multilingual - support multiple languages like Polish, English or Italian
|
||||
- Multiple tools to use:
|
||||
- Duplicates - Finds duplicates based on file name, size or hash
|
||||
- Empty Folders - Finds empty folders with the help of an advanced algorithm
|
||||
- Big Files - Finds the provided number of the biggest files in given location
|
||||
- Empty Files - Looks for empty files across the drive
|
||||
- Temporary Files - Finds temporary files
|
||||
- Similar Images - Finds images which are not exactly the same (different resolution, watermarks)
|
||||
- Similar Videos - Looks for similar visually videos
|
||||
- Same Music - Searches for music with the same artist, album etc.
|
||||
- Invalid Symbolic Links - Shows symbolic links which point to non-existent files/directories
|
||||
- Broken Files - Finds files with an invalid extension or that are corrupted
|
||||
|
||||
<!-- The GIF thingy -->
|
||||
![Czkawka](https://user-images.githubusercontent.com/41945903/145280350-506f7e94-4db0-4de7-a68d-6e7c26bbd2bf.gif)
|
||||
|
||||
## How do I use it?
|
||||
You can find the instructions on how to use Czkawka [**here**](instructions/Instruction.md).
|
||||
|
||||
Some helpful tricks you can find [**here**](instructions/Instruction.md#tips-tricks-and-known-bugs)
|
||||
|
||||
## Installation
|
||||
Installation instructions with download links you can find [**here**](instructions/Installation.md).
|
||||
|
||||
## Compilation
|
||||
If you want to try and develop Czkawka or just use the latest available feature, you may want to look at the [**compilation instruction**](instructions/Compilation.md).
|
||||
|
||||
## Benchmarks
|
||||
|
||||
Since Czkawka is written in Rust and it aims to be a faster alternative to FSlint or DupeGuru which are written in Python, we need to compare the speed of these tools.
|
||||
|
||||
I tested it on a 256 GB SSD and a i7-4770 CPU.
|
||||
|
||||
I prepared a disk and performed a test without any folder exceptions and with disabled ignoring of hard links which contained 363 215 files, took 221,8 GB and had 62093 duplicate files in 31790 groups which occupied 4,1 GB.
|
||||
|
||||
I set the minimal file size to check to 1KB on all programs.
|
||||
|
||||
| App | Executing Time |
|
||||
|:---------------------------:|:--------------:|
|
||||
| FSlint 2.4.7 (First Run) | 86s |
|
||||
| FSlint 2.4.7 (Second Run) | 43s |
|
||||
| Czkawka 3.0.0 (First Run) | 8s |
|
||||
| Czkawka 3.0.0 (Second Run) | 7s |
|
||||
| DupeGuru 4.1.1 (First Run) | 22s |
|
||||
| DupeGuru 4.1.1 (Second Run) | 21s |
|
||||
|
||||
I used Mprof for checking memory usage of FSlint and DupeGuru, and Heaptrack for Czkawka.
|
||||
|
||||
| App | Idle Ram | Max Operational Ram Usage | Stabilized after search |
|
||||
|:--------------:|:--------:|:-------------------------:|:-----------------------:|
|
||||
| FSlint 2.4.7 | 62 MB | 164 MB | 158 MB |
|
||||
| Dupeguru 4.1.1 | 90 MB | 170 MB | 166 MB |
|
||||
| Czkawka 3.0.0 | 12 MB | 122 MB | 60 MB |
|
||||
|
||||
|
||||
In Dupeguru I enabled checking images with different dimensions to match Czkawka behavior.
|
||||
Both apps use caching mechanism, so second scan is really fast.
|
||||
|
||||
Similar images which check 10949 files that occupied 6.6 GB
|
||||
|
||||
| App | Scan time |
|
||||
|:---------------------------:|:---------:|
|
||||
| Czkawka 3.0.0 (First Run) | 276s |
|
||||
| Czkawka 3.0.0 (Second Run) | 1s |
|
||||
| DupeGuru 4.1.1 (First Run) | 539s |
|
||||
| DupeGuru 4.1.1 (Second Run) | 1s |
|
||||
|
||||
Similar images which check 349 image files that occupied 1.7 GB
|
||||
|
||||
| App | Scan time |
|
||||
|:---------------------------:|:----------|
|
||||
| Czkawka 3.0.0 (First Run) | 54s |
|
||||
| Czkawka 3.0.0 (Second Run) | 1s |
|
||||
| DupeGuru 4.1.1 (First Run) | 55s |
|
||||
| DupeGuru 4.1.1 (Second Run) | 1s |
|
||||
|
||||
## Comparison to other tools
|
||||
|
||||
Bleachbit is a master at finding and removing temporary files, while Czkawka only finds the most basic ones. So these two apps shouldn't be compared directly or be considered as an alternative to one another.
|
||||
|
||||
| | Czkawka | FSlint | DupeGuru | Bleachbit |
|
||||
|:----------------------:|:-----------:|:----------:|:-----------------:|:-----------:|
|
||||
| Language | Rust | Python | Python/Obj-C | Python |
|
||||
| OS | Lin,Mac,Win | Lin | Lin,Mac,Win | Lin,Mac,Win |
|
||||
| Framework | GTK 3 | PyGTK2 | Qt 5 (PyQt)/Cocoa | PyGTK3 |
|
||||
| Duplicate finder | • | • | • | |
|
||||
| Empty files | • | • | | |
|
||||
| Empty folders | • | • | | |
|
||||
| Temporary files | • | • | | • |
|
||||
| Big files | • | | | |
|
||||
| Similar images | • | | • | |
|
||||
| Similar videos | • | | | |
|
||||
| Music duplicates(tags) | • | | • | |
|
||||
| Invalid symlinks | • | • | | |
|
||||
| Broken files | • | | | |
|
||||
| Names conflict | • | • | | |
|
||||
| Installed packages | | • | | |
|
||||
| Invalid names | | • | | |
|
||||
| Bad ID | | • | | |
|
||||
| Non stripped binaries | | • | | |
|
||||
| Redundant whitespace | | • | | |
|
||||
| Overwriting files | | • | | • |
|
||||
| Multiple languages | • | • | • | • |
|
||||
| Cache support | • | | • | |
|
||||
| In active development | Yes | No | Yes | Yes |
|
||||
|
||||
## Other apps
|
||||
There are many similar applications to Czkawka on the Internet, which do some things better and some things worse.
|
||||
### GUI
|
||||
- [DupeGuru](https://github.com/arsenetar/dupeguru) - A lot of options to customize, great photo compare tool
|
||||
- [FSlint](https://github.com/pixelb/fslint) - A little outdated, but still have some tools not available in Czkawka
|
||||
- [AntiDupl.NET](https://github.com/ermig1979/AntiDupl) - Shows a lot of metadata of compared images
|
||||
- [Video Duplicate Finder](https://github.com/0x90d/videoduplicatefinder) - Finds similar videos(surprising, isn't it), supports video thumbnails
|
||||
### CLI
|
||||
Due to limited time, the biggest emphasis is on the GUI version so if you are looking for really good and feature-packed console apps, then take a look at these:
|
||||
- [Fclones](https://github.com/pkolaczk/fclones) - One of the fastest tools to find duplicates, it is written also in Rust
|
||||
- [Rmlint](https://github.com/sahib/rmlint) - Really good console interface and also is feature packed
|
||||
- [RdFind](https://github.com/pauldreik/rdfind) - Fast, but written in C++ ¯\\\_(ツ)\_/¯
|
||||
|
||||
## Contributions
|
||||
Contributions to this repository are welcome.
|
||||
|
||||
You can help by creating:
|
||||
- Bug reports - memory leaks, unexpected behavior, crashes
|
||||
- Feature proposals - proposal to change/add/delete some features
|
||||
- Pull Requests - implementing a new feature yourself or fixing bugs.
|
||||
If the change is bigger, then it's a good idea to open a new issue to discuss changes.
|
||||
- Documentation - There is an [instruction](instructions/Instruction.md) which you can improve.
|
||||
- Translations - Instruction how to translate files is available [here](instructions/Translations.md)
|
||||
|
||||
You can also help by doing different things:
|
||||
- Creating text articles - [LinuxUprising](https://www.linuxuprising.com/2021/03/find-and-remove-duplicate-files-similar.html) or [Ubunlog](https://ubunlog.com/en/czkawka-finds-and-removes-empty-and-broken-duplicate-files/)
|
||||
- Adding Czkawka to repositories - [Alpine Linux](https://pkgs.alpinelinux.org/packages?name=czkawka&branch=edge) or [NixOS](https://github.com/NixOS/nixpkgs/pull/116441) or [OpenMandriva](https://github.com/OpenMandrivaAssociation/czkawka)
|
||||
- Creating videos - [First Video](https://www.youtube.com/watch?v=CWlRiTD4vDc) or [Tutorial Spanish](https://www.youtube.com/watch?v=V9x-pHJRmKY)
|
||||
- Recommending it to others
|
||||
|
||||
## Name
|
||||
Czkawka is a Polish word which means _hiccup_.
|
||||
|
||||
I chose this name because I wanted to hear people speaking other languages pronounce it, so feel free to spell it the way you want.
|
||||
|
||||
This name is not as bad as it seems, because I was also thinking about using words like _żółć_, _gżegżółka_ or _żołądź_,
|
||||
but I gave up on these ideas because they contained Polish characters, which would cause difficulty in searching for the project.
|
||||
|
||||
At the beginning of the program creation, if the response concerning the name was unanimously negative, I prepared myself
|
||||
for a possible change of the name of the program, and the opinions were extremely mixed.
|
||||
|
||||
## License
|
||||
Code is distributed under MIT license.
|
||||
|
||||
Icon was created by [jannuary](https://github.com/jannuary) and licensed CC-BY-4.0.
|
||||
|
||||
Windows dark theme is used from [AdMin repo](https://github.com/nrhodes91/AdMin) with MIT license.
|
||||
|
||||
The program is completely free to use.
|
||||
|
||||
"Gratis to uczciwa cena" - "Free is a fair price"
|
||||
|
||||
## Thanks
|
||||
|
||||
Big thanks to Pádraig Brady, creator of fantastic FSlint, because without his work I wouldn't create this tool.
|
||||
|
||||
Thanks also to all the people who create patches for this program, make it available on other systems, create videos, articles about it etc.
|
||||
|
||||
## Donations
|
||||
If you are using the app, I would appreciate a donation for its further development, which can be done [here](https://github.com/sponsors/qarmin).
|
|
@ -10,13 +10,8 @@ repository = "https://github.com/qarmin/czkawka"
|
|||
|
||||
|
||||
[dependencies]
|
||||
|
||||
# Language
|
||||
i18n-embed = { version = "0.13", features = ["fluent-system", "desktop-requester"] }
|
||||
i18n-embed-fl = "0.6.1"
|
||||
rust-embed = "6.3.0"
|
||||
once_cell = "1.9.0"
|
||||
|
||||
|
||||
[features]
|
||||
default = []
|
||||
|
|
|
@ -10,8 +10,6 @@ repository = "https://github.com/qarmin/czkawka"
|
|||
|
||||
[dependencies]
|
||||
czkawka_core = { path = "../czkawka_core", version = "3.3.1"}
|
||||
gdk = "0.14.3"
|
||||
glib = "0.14.8"
|
||||
|
||||
# Language
|
||||
i18n-embed = { version = "0.13", features = ["fluent-system", "desktop-requester"] }
|
||||
|
@ -19,8 +17,4 @@ i18n-embed-fl = "0.6.1"
|
|||
rust-embed = "6.3.0"
|
||||
once_cell = "1.9.0"
|
||||
|
||||
[dependencies.gtk]
|
||||
version = "0.14.3"
|
||||
default-features = false # just in case
|
||||
features = ["v3_24_9"]
|
||||
|
||||
|
|
|
@ -1,36 +1 @@
|
|||
use i18n_embed::unic_langid::LanguageIdentifier;
|
||||
use i18n_embed::DesktopLanguageRequester;
|
||||
|
||||
pub fn connect_change_language() {
|
||||
change_language();
|
||||
}
|
||||
|
||||
fn change_language() {
|
||||
println!("Change language");
|
||||
let localizers = vec![("czkawka_gui", czkawka_core::localizer::localizer())];
|
||||
|
||||
let lang_identifier = vec![LanguageIdentifier::from_bytes("en".as_bytes()).unwrap()];
|
||||
for (lib, localizer) in localizers {
|
||||
if let Err(error) = localizer.select(&lang_identifier) {
|
||||
eprintln!("Error while loadings languages for {} {:?}", lib, error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn load_system_language() {
|
||||
println!("Load system language");
|
||||
let requested_languages = DesktopLanguageRequester::requested_languages();
|
||||
|
||||
if let Some(language) = requested_languages.get(0) {
|
||||
let old_short_lang = language.to_string();
|
||||
let mut short_lang = "".to_string();
|
||||
// removes from e.g. en_zb, ending _zd since Czkawka don't support this(maybe could add this in future, but only when)
|
||||
for i in old_short_lang.chars() {
|
||||
if i.is_ascii_alphabetic() {
|
||||
short_lang.push(i)
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,23 +1,47 @@
|
|||
// Remove console window in Windows OS
|
||||
#![windows_subsystem = "windows"]
|
||||
|
||||
use gtk::prelude::*;
|
||||
use i18n_embed::unic_langid::LanguageIdentifier;
|
||||
use i18n_embed::DesktopLanguageRequester;
|
||||
|
||||
use crate::connect_change_language::*;
|
||||
|
||||
mod connect_change_language;
|
||||
|
||||
fn main() {
|
||||
let application = gtk::Application::builder().build();
|
||||
application.connect_activate(move |application| {
|
||||
load_system_language(); // Check for default system language, must be loaded after initializing GUI and before loading settings from file
|
||||
|
||||
connect_change_language();
|
||||
|
||||
let window_main = gtk::Window::builder().application(application).build();
|
||||
window_main.show_all();
|
||||
window_main.connect_delete_event(move |_, _| Inhibit(false));
|
||||
});
|
||||
|
||||
application.run();
|
||||
load_system_language(); // Check for default system language, must be loaded after initializing GUI and before loading settings from file
|
||||
connect_change_language();
|
||||
}
|
||||
pub fn connect_change_language() {
|
||||
change_language();
|
||||
}
|
||||
|
||||
fn change_language() {
|
||||
println!("Change language");
|
||||
let localizers = vec![("czkawka_gui", czkawka_core::localizer::localizer())];
|
||||
|
||||
let lang_identifier = vec![LanguageIdentifier::from_bytes("en".as_bytes()).unwrap()];
|
||||
for (lib, localizer) in localizers {
|
||||
if let Err(error) = localizer.select(&lang_identifier) {
|
||||
eprintln!("Error while loadings languages for {} {:?}", lib, error);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pub fn load_system_language() {
|
||||
println!("Load system language");
|
||||
let requested_languages = DesktopLanguageRequester::requested_languages();
|
||||
|
||||
if let Some(language) = requested_languages.get(0) {
|
||||
let old_short_lang = language.to_string();
|
||||
let mut short_lang = "".to_string();
|
||||
// removes from e.g. en_zb, ending _zd since Czkawka don't support this(maybe could add this in future, but only when)
|
||||
for i in old_short_lang.chars() {
|
||||
if i.is_ascii_alphabetic() {
|
||||
short_lang.push(i)
|
||||
} else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/czkawka_cli/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/czkawka_core/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/czkawka_gui_orbtk/src" isTestSource="false" />
|
||||
<sourceFolder url="file://$MODULE_DIR$/czkawka_gui/src" isTestSource="false" />
|
||||
<excludeFolder url="file://$MODULE_DIR$/target" />
|
||||
</content>
|
||||
<orderEntry type="inheritedJdk" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
|
@ -1,8 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectModuleManager">
|
||||
<modules>
|
||||
<module fileurl="file://$PROJECT_DIR$/.idea/czkawka.iml" filepath="$PROJECT_DIR$/.idea/czkawka.iml" />
|
||||
</modules>
|
||||
</component>
|
||||
</project>
|
|
@ -1,6 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
|
@ -1,509 +0,0 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CargoProjects">
|
||||
<cargoProject FILE="$PROJECT_DIR$/Cargo.toml" />
|
||||
</component>
|
||||
<component name="PropertiesComponent">
|
||||
<property name="ASKED_ADD_EXTERNAL_FILES" value="true" />
|
||||
<property name="RunOnceActivity.OpenProjectViewOnStart" value="true" />
|
||||
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
|
||||
<property name="last_opened_file_path" value="$PROJECT_DIR$/czkawka_core/src" />
|
||||
<property name="org.rust.cargo.project.model.PROJECT_DISCOVERY" value="true" />
|
||||
<property name="project.structure.last.edited" value="Problems" />
|
||||
<property name="project.structure.proportion" value="0.0" />
|
||||
<property name="project.structure.side.proportion" value="0.2" />
|
||||
<property name="restartRequiresConfirmation" value="false" />
|
||||
<property name="settings.editor.selected.configurable" value="language.rust" />
|
||||
</component>
|
||||
<component name="RunManager" selected="Cargo.Clippy">
|
||||
<configuration name="Audit" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="audit" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Build All Debug" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="build --all" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Build All Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="build --all --release" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Check" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="check" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Clippy" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="clippy" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Doc" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="doc --open" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Format Code" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="fmt" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Big Debug" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli -- big -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Big Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli --release -- big -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Duplicates Debug" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli -- dup -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Duplicates Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli --release -- dup -d $USER_HOME$ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Empty Files Debug" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli -- empty-files -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Empty Files Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli --release -- empty-files -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Empty Folders Debug" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli -- empty-folders -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Empty Folders Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli --release -- empty-folders -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Info" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Invalid Symlinks Debug" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli -- symlinks -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Invalid Symlinks Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli --release -- symlinks -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Same Music Debug" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli -- music -d $USER_HOME$/ -f "results.txt" -z "artist,title"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Same Music Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli --release -- music -d /mnt/Mliki/Rafal/Muzyka -f "results.txt" -z "artist,title"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Similar Images Debug" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli -- image -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Similar Images Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli --release -- image -d /mnt/Miecz/Tapety -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Temporary Files Debug" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli -- temp -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Temporary Files Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli --release -- temp -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Zeroed Files Debug" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli -- zeroed -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run CLI Zeroed Files Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_cli --release -- zeroed -d $USER_HOME$/ -f "results.txt"" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run GUI GTK Debug" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_gui" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run GUI GTK Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_gui --release" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run GUI Orbtk Release" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_gui_orbtk --release" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Run GUI Version" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="run --bin czkawka_gui -- --version" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Test" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="test --workspace" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<configuration name="Update" type="CargoCommandRunConfiguration" factoryName="Cargo Command">
|
||||
<option name="command" value="update" />
|
||||
<option name="workingDirectory" value="file://$PROJECT_DIR$" />
|
||||
<option name="channel" value="DEFAULT" />
|
||||
<option name="allFeatures" value="false" />
|
||||
<option name="emulateTerminal" value="false" />
|
||||
<option name="backtrace" value="SHORT" />
|
||||
<envs />
|
||||
<option name="isRedirectInput" value="false" />
|
||||
<option name="redirectInputPath" value="" />
|
||||
<method v="2">
|
||||
<option name="CARGO.BUILD_TASK_PROVIDER" enabled="true" />
|
||||
</method>
|
||||
</configuration>
|
||||
<list>
|
||||
<item itemvalue="Cargo.Audit" />
|
||||
<item itemvalue="Cargo.Build All Debug" />
|
||||
<item itemvalue="Cargo.Build All Release" />
|
||||
<item itemvalue="Cargo.Check" />
|
||||
<item itemvalue="Cargo.Clippy" />
|
||||
<item itemvalue="Cargo.Doc" />
|
||||
<item itemvalue="Cargo.Format Code" />
|
||||
<item itemvalue="Cargo.Run CLI Big Debug" />
|
||||
<item itemvalue="Cargo.Run CLI Big Release" />
|
||||
<item itemvalue="Cargo.Run CLI Duplicates Debug" />
|
||||
<item itemvalue="Cargo.Run CLI Duplicates Release" />
|
||||
<item itemvalue="Cargo.Run CLI Empty Files Debug" />
|
||||
<item itemvalue="Cargo.Run CLI Empty Files Release" />
|
||||
<item itemvalue="Cargo.Run CLI Empty Folders Debug" />
|
||||
<item itemvalue="Cargo.Run CLI Empty Folders Release" />
|
||||
<item itemvalue="Cargo.Run CLI Info" />
|
||||
<item itemvalue="Cargo.Run CLI Same Music Debug" />
|
||||
<item itemvalue="Cargo.Run CLI Same Music Release" />
|
||||
<item itemvalue="Cargo.Run CLI Similar Images Debug" />
|
||||
<item itemvalue="Cargo.Run CLI Similar Images Release" />
|
||||
<item itemvalue="Cargo.Run CLI Temporary Files Debug" />
|
||||
<item itemvalue="Cargo.Run CLI Temporary Files Release" />
|
||||
<item itemvalue="Cargo.Run CLI Zeroed Files Debug" />
|
||||
<item itemvalue="Cargo.Run CLI Zeroed Files Release" />
|
||||
<item itemvalue="Cargo.Run CLI Invalid Symlinks Debug" />
|
||||
<item itemvalue="Cargo.Run CLI Invalid Symlinks Release" />
|
||||
<item itemvalue="Cargo.Run GUI GTK Debug" />
|
||||
<item itemvalue="Cargo.Run GUI GTK Release" />
|
||||
<item itemvalue="Cargo.Run GUI Orbtk Release" />
|
||||
<item itemvalue="Cargo.Run GUI Version" />
|
||||
<item itemvalue="Cargo.Test" />
|
||||
<item itemvalue="Cargo.Update" />
|
||||
</list>
|
||||
</component>
|
||||
<component name="RustProjectSettings">
|
||||
<option name="doctestInjectionEnabled" value="false" />
|
||||
<option name="runRustfmtOnSave" value="true" />
|
||||
<option name="toolchainHomeDirectory" value="$USER_HOME$/.cargo/bin" />
|
||||
<option name="version" value="2" />
|
||||
</component>
|
||||
<component name="SpellCheckerSettings" RuntimeDictionaries="0" Folders="0" CustomDictionaries="0" DefaultDictionary="application-level" UseSingleDictionary="true" transferred="true" />
|
||||
</project>
|
|
@ -1,24 +0,0 @@
|
|||
#!/bin/bash
|
||||
NUMBER="3.3.1"
|
||||
CZKAWKA_PATH="/home/rafal"
|
||||
|
||||
cd "$CZKAWKA_PATH"
|
||||
CZKAWKA_PATH="$CZKAWKA_PATH/czkawka"
|
||||
rm -rf $CZKAWKA_PATH
|
||||
git clone https://github.com/qarmin/czkawka.git "$CZKAWKA_PATH"
|
||||
cd $CZKAWKA_PATH
|
||||
git checkout "$NUMBER"
|
||||
|
||||
cd "$CZKAWKA_PATH/czkawka_core"
|
||||
cargo package
|
||||
if [ $(echo $?) != "0" ]
|
||||
then
|
||||
echo "Cargo package failed CORE"
|
||||
exit 1
|
||||
fi
|
||||
git reset --hard
|
||||
|
||||
cd "$CZKAWKA_PATH/czkawka_core"
|
||||
cargo publish
|
||||
git reset --hard
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
#!/bin/bash
|
||||
NUMBER="3.3.1"
|
||||
CZKAWKA_PATH="/home/rafal"
|
||||
|
||||
cd "$CZKAWKA_PATH"
|
||||
CZKAWKA_PATH="$CZKAWKA_PATH/czkawka"
|
||||
rm -rf $CZKAWKA_PATH
|
||||
git clone https://github.com/qarmin/czkawka.git "$CZKAWKA_PATH"
|
||||
cd $CZKAWKA_PATH
|
||||
git checkout "$NUMBER"
|
||||
|
||||
|
||||
cd "$CZKAWKA_PATH/czkawka_cli"
|
||||
cargo package
|
||||
if [ $(echo $?) != "0" ]
|
||||
then
|
||||
echo "Cargo package failed CLI"
|
||||
exit 1
|
||||
fi
|
||||
git reset --hard
|
||||
|
||||
|
||||
cd "$CZKAWKA_PATH/czkawka_gui"
|
||||
cargo package
|
||||
if [ $(echo $?) != "0" ]
|
||||
then
|
||||
echo "Cargo package failed GUI"
|
||||
exit 1
|
||||
fi
|
||||
git reset --hard
|
||||
|
||||
|
||||
|
||||
|
||||
cd "$CZKAWKA_PATH/czkawka_cli"
|
||||
sed -i "s/{ path = \"..\/czkawka_core\" }/\"=$NUMBER\"/g" "$CZKAWKA_PATH/czkawka_cli/Cargo.toml"
|
||||
cargo publish --allow-dirty
|
||||
git reset --hard
|
||||
|
||||
cd "$CZKAWKA_PATH/czkawka_gui"
|
||||
sed -i "s/{ path = \"..\/czkawka_core\" }/\"=$NUMBER\"/g" "$CZKAWKA_PATH/czkawka_gui/Cargo.toml"
|
||||
cargo publish --allow-dirty
|
||||
git reset --hard
|
|
@ -1,23 +0,0 @@
|
|||
import os
|
||||
import sys
|
||||
|
||||
if len(sys.argv) != 4:
|
||||
print("ERROR: Not provided 3 required arguments - " + str(sys.argv))
|
||||
exit(1)
|
||||
|
||||
folder_name = sys.argv[1]
|
||||
files_required = sys.argv[2]
|
||||
directories_required = sys.argv[3]
|
||||
|
||||
file_count = sum(len(files) for _, _, files in os.walk(folder_name))
|
||||
if str(file_count) != files_required:
|
||||
print("Current files: " + str(file_count) + ", but required is: " + str(files_required))
|
||||
print("This commit probably introduced regression, please recheck it.")
|
||||
exit(1)
|
||||
|
||||
directory_count = sum(len(dire) for _, dire, files in os.walk(folder_name))
|
||||
if str(directory_count) != directories_required:
|
||||
print("Current directories: " + str(directory_count) + ", but required is: " + str(directories_required))
|
||||
print("This commit probably introduced regression, please recheck it.")
|
||||
exit(1)
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
app: Czkawka
|
||||
|
||||
ingredients:
|
||||
script:
|
||||
- mkdir -p czkawka
|
||||
|
||||
script:
|
||||
- pwd
|
||||
- cp ../../czkawka_gui ./usr/bin/czkawka_gui
|
||||
- cp ../../data/com.github.qarmin.czkawka.desktop .
|
||||
- cp ../../data/icons/com.github.qarmin.czkawka.svg .
|
|
@ -1,6 +0,0 @@
|
|||
#!/bin/bash
|
||||
pip3 install aiohttp toml
|
||||
wget https://raw.githubusercontent.com/flatpak/flatpak-builder-tools/master/cargo/flatpak-cargo-generator.py
|
||||
mkdir flatpak
|
||||
python3 flatpak-cargo-generator.py ./Cargo.lock -o flatpak/cargo-sources.json
|
||||
rm flatpak-cargo-generator.py
|
|
@ -1,47 +0,0 @@
|
|||
translations = ["pl", "it", "de"] # en is missing here
|
||||
base_translation = "en"
|
||||
|
||||
base_keywords = []
|
||||
with open('i18n/' + base_translation + "/czkawka_gui.ftl", 'r') as file:
|
||||
base_translation_file_content = file.readlines()
|
||||
for line in base_translation_file_content:
|
||||
if line.find("=") != -1:
|
||||
first_split = line.split("=")[0].strip()
|
||||
# Debug check, check for usage of AAAAA in result to see which esults are unused
|
||||
# To check in what exactly places are usused, remove -c parameter
|
||||
# print("rg \"" + first_split + "\" czkawka_gui/src -c;echo \"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA - "+first_split+"\"")
|
||||
try:
|
||||
base_keywords.index(first_split)
|
||||
print("Duplicated member " + first_split +" in base translation")
|
||||
except:
|
||||
True # All good
|
||||
base_keywords.append(first_split)
|
||||
|
||||
|
||||
for lang in translations:
|
||||
print("\nChecking " + lang + " language")
|
||||
lang_keywords = []
|
||||
with open('i18n/' + lang + "/czkawka_gui.ftl", 'r') as file:
|
||||
file_content = file.readlines()
|
||||
for line in file_content:
|
||||
if line.find("=") != -1:
|
||||
first_split = line.split("=")[0].strip()
|
||||
try:
|
||||
lang_keywords.index(first_split)
|
||||
print("Duplicated member " + first_split +" in " + lang + " translation")
|
||||
except:
|
||||
True # All good
|
||||
lang_keywords.append(first_split)
|
||||
|
||||
for keyword in base_keywords:
|
||||
try:
|
||||
lang_keywords.index(keyword)
|
||||
except:
|
||||
print("Missing keyword - " + keyword)
|
||||
|
||||
for keyword in lang_keywords:
|
||||
try:
|
||||
base_keywords.index(keyword)
|
||||
except:
|
||||
print("Unused keyword - " + keyword)
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
[Desktop Entry]
|
||||
Type=Application
|
||||
Terminal=false
|
||||
Exec=czkawka
|
||||
Name=Czkawka
|
||||
Comment=Multi functional app to clean OS which allow to find duplicates, empty folders, similar files etc.
|
||||
Icon=${SNAP}/meta/gui/czkawka.png
|
||||
Categories=System;
|
||||
StartupWMClass=czkawka
|
||||
TryExec=czkawka
|
Binary file not shown.
Before Width: | Height: | Size: 4.4 KiB |
|
@ -1,28 +0,0 @@
|
|||
name: czkawka # you probably want to 'snapcraft register <name>'
|
||||
base: core20 # the base snap is the execution environment for this snap
|
||||
version: '3.3.1' # just for humans, typically '1.2+git' or '1.3.2'
|
||||
summary: Czkawka - fast data cleaner written in Rust # 79 char long summary
|
||||
description: |
|
||||
Czkawka is very fast and feature rich cleaner which finds file duplicates, empty folders and files, duplicated music, similar images or the biggest files in selected directories.
|
||||
This program have frontend written in modern GTK 3.
|
||||
grade: stable # must be 'stable' to release into candidate/stable channels
|
||||
confinement: strict # use 'strict' once you have the right plugs and slots
|
||||
compression: lzo
|
||||
|
||||
parts:
|
||||
czkawka:
|
||||
plugin: rust
|
||||
source: https://github.com/qarmin/czkawka.git
|
||||
build-packages:
|
||||
- curl
|
||||
- gcc
|
||||
- git
|
||||
rust-path: [ "czkawka_gui" ]
|
||||
apps:
|
||||
czkawka:
|
||||
command: bin/czkawka_gui
|
||||
extensions: [ gnome-3-38 ]
|
||||
plugs:
|
||||
- home
|
||||
- removable-media
|
||||
- udisks2
|
Loading…
Reference in a new issue