Search

Lib.rs

› Filesystem
#linux #tool-tui #cli #tool

app imge

Write disk images to physical drive or vice versa

by Grzegorz Blach

  • Install
  • GitHub repo (gblach)

8 releases (1 stable)

Uses new Rust 2024

1.0.0 Sep 21, 2025
0.5.1 Dec 7, 2024
0.5.0 Nov 11, 2024
0.4.0 Nov 1, 2024
0.1.0 May 18, 2024

#297 in Filesystem

Download history

335 downloads per month

MPL-2.0 license

150KB
766 lines

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

Dependencies

~18–32MB
~554K SLoC

  • anyhow
  • argp 0.4
  • bzip2 0.6
  • crossterm 0.29
  • derivative 2.0
  • drives
  • flate2
  • libc
  • num-format+with-system-locale
  • ratatui 0.29
  • xz2
  • zstd
See also: selinux, backhand, gentoo-cruft, dysk, sshmount, btrfs-mkfs, fuselage, btrfs-cli, tempfile, bootimage, imago

Lib.rs is an unofficial list of Rust/Cargo crates, created by kornelski. It contains data from multiple sources, including heuristics, and manually curated data. Content of this page is not necessarily endorsed by the authors of the crate. This site is not affiliated with nor endorsed by the Rust Project. If something is missing or incorrect, please file a bug.