imge

Crates.ioimge
lib.rsimge
version
sourcesrc
created_at2024-05-18 21:09:42.598993
updated_at2024-12-07 14:28:18.792225
descriptionWrite disk images to physical drive or vice versa.
homepage
repositoryhttps://github.com/gblach/imge
max_upload_size
id1244503
Cargo.toml error:TOML parse error at line 17, column 1 | 17 | 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`
size0
Grzegorz Blach (gblach)

documentation

README

imge

Write disk images to physical drive or vice versa with on-the-fly compression/decompression.

Install

# Install from source
$ cargo install imge

# Install from binary
$ cargo binstall imge

# If ~/.cargo/bin is not in your PATH
$ export PATH=$PATH:~/.cargo/bin

Synopsis

imge <image> [-a] [-d <drive>] [-f] [-v]

Positional Arguments:
  image             path to image

Options:
  -a, --all-drives  show all drives
  -d, --drive       use this drive, do not ask
  -f, --from-drive  copy drive to image (instead of image to drive)
  -v, --verify      verify if data was copied correctly
  --help            display usage information

Description

Imge is a TUI tool for writing disk images to removable (by default) or non-removable (by -a option) drives. It also has an option to copy the drive to the disk image. When copying from image to disk and the image is compressed, the image is decompressed on the fly. When copying from disk to image and the image ends in .gz, .bz2 or .xz, the image is compressed on the fly. It's intended to be an easier to use and less error-prone than dd, since choosing the wrong disk may have a big impact on the data on your hard drive.

main keybindings warning copying verifying victory

TODO

  • Verify checksum before making copy.
  • Support copying /dev/zero and /dev/urandom to the drive.
Commit count: 38

cargo fmt