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
594 downloads per month
44KB
909 lines
iOS-Backup
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 bytype
,size
,root
, andauto
.--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
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
License & copyright
© Vignesh Rao
Licensed under the MIT License
Dependencies
~36MB
~589K SLoC