2
0
mirror of https://github.com/qarmin/czkawka synced 2024-11-12 01:10:45 +00:00
czkawka/czkawka_cli
Rafał Mikrut b28e4af7c6 2024
2024-02-07 14:03:25 +01:00
..
src Wersja 2024-02-03 20:29:45 +01:00
Cargo.toml Things dedup (#1183) 2024-01-14 14:38:55 +01:00
data Bind data folder into subprojects 2023-10-13 21:25:45 +02:00
LICENSE 2024 2024-02-07 14:03:25 +01:00
README.md 2024 2024-02-07 14:03:25 +01:00

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) or use heif/libraw(build/runtime dependency) you need to install required packages.

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"

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-02-06 # 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

Limitations

Not all available features in core are available in CLI.

List of not available features:

  • Ability to use/choose referenced directories
  • See progress of scanning

LICENSE

MIT