Crates.io | squishy-cli |
lib.rs | squishy-cli |
version | |
source | src |
created_at | 2024-11-08 02:44:21.019307 |
updated_at | 2024-11-10 13:07:48.549402 |
description | A simple CLI tool to work with SquashFS files |
homepage | |
repository | https://github.com/pkgforge/squishy-rs |
max_upload_size | |
id | 1440752 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
A convenient wrapper around the backhand library for reading and extracting files from SquashFS filesystems.
cargo install squishy-cli
git clone https://github.com/pkgforge/squishy-rs
cd squishy-rs
cargo install --path squishy-cli
The CLI tool provides convenient commands for working with AppImage files.
# Extract icon from an AppImage
squishy appimage path/to/app.AppImage --icon
# Extract desktop file
squishy appimage path/to/app.AppImage --desktop
# Extract AppStream metadata
squishy appimage path/to/app.AppImage --appstream
# Extract and save files to a specific directory
squishy appimage path/to/app.AppImage --icon --write /output/path
# Extract multiple resources at once
squishy appimage path/to/app.AppImage --icon --desktop --appstream --write
# Filter path by query
squishy appimage path/to/app.AppImage --filter "squishy" --icon --desktop --appstream --write
# Provide custom offset (it'd be calculated automatically if not provided)
# Appimage offset can be read using `path/to/app.AppImage --appimage-offset`
squishy appimage path/to/app.AppImage --offset 128128 --icon --desktop --appstream --write
--offset
: Custom offset (i.e. the size of ELF)--filter
: Filter the files using provided query--icon
: Extract application icon--desktop
: Extract desktop entry file--appstream
: Extract AppStream metadata--write
: Write files to disk (optional path argument)This project is licensed under the [MIT] License - see the LICENSE file for details.