27 stable releases (7 major)
8.0.0 | Oct 11, 2024 |
---|---|
7.0.0 | Feb 19, 2024 |
6.1.0 | Oct 15, 2023 |
6.0.0 | Jun 11, 2023 |
1.4.0 | Nov 9, 2020 |
#89 in Filesystem
91 downloads per month
505KB
10K
SLoC
Czkawka CLI
CLI frontend, allows to use Czkawka from terminal.
Requirements
Precompiled binaries should work without any additional dependencies with Linux(Ubuntu 20.04+), Windows(10+) and macOS( 10.15+).
If you decide to compile the app, you probably will be able to run it on even older versions of OS, like Ubuntu 16.04 or Windows 7.
On linux it is even possible with eyra to avoid entirely libc and using fully static rust binary.
If you want to use similar videos tool, you need to install ffmpeg(runtime dependency).
If you want to use heif/libraw/libavif(build/runtime dependency) you need to install required packages(may require
bigger os version than czkawka).
- mac -
brew install ffmpeg libraw libheif libavif
- https://formulae.brew.sh/formula/ffmpeg - linux -
sudo apt install ffmpeg libraw-dev libheif-dev libavif-dev libdav1d-dev
- windows -
choco install ffmpeg
- or if not working, download from https://ffmpeg.org/download.html#build-windows and unpack to location withczkawka_cli.exe
, heif and libraw are not supported on windows
Compilation
For compilation, you need to have installed Rust via rustup - https://rustup.rs/ and compile it e.g. via
cargo run --release --bin czkawka_cli
you can enable additional features via
cargo run --release --bin czkawka_cli --features "heif,libraw,libavif"
on linux to build fully static binary with eyra you need to use (this is only for crazy people, so just use command above if you don't know what you are doing)
rustup default nightly-2024-09-25 # or any newer nightly that works fine with eyra
cd czkawka_cli
cargo add eyra --rename=std
echo 'fn main() { println!("cargo:rustc-link-arg=-nostartfiles"); }' > build.rs
cd ..
cargo build --release --bin czkawka_cli
LICENSE
MIT
Dependencies
~47–82MB
~1.5M SLoC