3 unstable releases
0.2.1 | Jun 9, 2024 |
---|---|
0.2.0 | Jun 7, 2024 |
0.1.0 | May 18, 2024 |
#108 in Filesystem
307 downloads per month
97KB
548 lines
imge
Write disk images to physical drive or vice versa.
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] [-f]
Positional Arguments:
image path to image
Options:
-a, --all-drives show all drives
-f, --from-drive copy drive to image (instead of image to drive)
--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.
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.
TODO
- Compress/decompress image on the fly.
- Verify if data was copied correctly.
- Verify checksum before making copy.
- Support copying /dev/zero and /dev/urandom to the drive.
- Implement non-interactive mode.
Dependencies
~6–12MB
~124K SLoC