8 releases

new 0.2.1 Feb 9, 2025
0.2.0 Feb 9, 2025
0.1.2 Feb 8, 2025
0.0.2-alpha Feb 13, 2025

#530 in Development tools

Download history 146/week @ 2025-01-31 443/week @ 2025-02-07

594 downloads per month

MIT license

44KB
909 lines

iOS-Backup

made-with-rust

crates.io

build none-shall-pass

Summary

ios is a lightweight CLI tool to extract iPhone backups.

Installation

cargo add ios

Usage

Embedded

use ios;

fn main() {
    match ios::retriever() {
        Ok(res) => {
            println!("{}", res);
        }
        Err(err) => {
            println!("{}", err);
        }
    };
}

CLI

./ios

ios crate takes the following arguments

  • --version - Print project version.
  • --list - List the available backups.
  • --debug - Enable debug level logging.
  • --all - Extract all available backups.
  • --serial - Initiate backup extraction for given serial number(s).
  • --organize - Organize the extracted files by type, size, root, and auto.
  • --workers | --threads - Numbers of workers (threads) to spin up for extraction.
  • --backup-dir | --source - Custom path for the backup. Defaults to OS specific path.
  • --output-dir | --destination - Destination directory. Defaults to 'extracted' in current path.

Download OS specific Executable
macOS (x86)
curl -o ios-Darwin-x86_64.tar.gz -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/ios/releases/latest/download/ios-Darwin-x86_64.tar.gz"
macOS (ARM)
curl -o ios-Darwin-arm64.tar.gz -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/ios/releases/latest/download/ios-Darwin-arm64.tar.gz"
Linux
curl -o ios-Linux-x86_64.tar.gz -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/ios/releases/latest/download/ios-Linux-x86_64.tar.gz"
Windows
curl -o ios-Windows-x86_64.zip -LH "Accept: application/octet-stream" "https://github.com/thevickypedia/ios/releases/latest/download/ios-Windows-x86_64.zip"

Crate

https://crates.io/crates/ios

Cargo Docs - Official Runbook

https://docs.rs/ios/latest/ios/

Generator

cargo doc --document-private-items --no-deps

Linting

Requirement

rustup component add clippy

Usage

cargo clippy --no-deps --fix

© Vignesh Rao

Licensed under the MIT License

Dependencies

~36MB
~589K SLoC