e2tools

Utilities to read, write, and manipulate files in ext2/3/4 filesystems

brewmacoslinux
Try with needOr install directly
Source

About

Utilities to read, write, and manipulate files in ext2/3/4 filesystems

Commands

e2cpe2lse2mkdire2mve2rme2tail

Examples

List files in an ext2/3/4 filesystem image$ e2ls -l /path/to/filesystem.img:/
Copy a file from an ext2/3/4 filesystem image to host system$ e2cp /path/to/filesystem.img:/etc/passwd ./passwd
Display the tail of a file within an ext2/3/4 filesystem image$ e2tail -f /path/to/filesystem.img:/var/log/syslog