DOKK / manpages / debian 11 / e2tools / e2rm.1.en
E2RM(1) User commands E2RM(1)

e2rm - removes files and directories on an ext2 filesystem

e2rm [options] files...

The e2rm command removes files and directories on an ext2 filesystem.

Recursively delete files if a directory name is given.
Be verbose.

This program expects to have a full ext2 file specification for each argument.

Remove a file


e2rm -v boot.img:/boot/grub/grub.c1 /boot/grub/grub.c2

Remove a directory and all the files


e2rm -r boot.img:/boot/grub

e2tools(7), e2ln(1), e2ls(1), e2mkdir(1), e2cp(1), e2mv(1), e2tail(1).

The e2tools were written by Keith Sheffield <sheff@pobox.com>.

This manual page was written by Lucas Wall <lwall@debian.org>, for the Debian project (but may be used by others).

2020-02-05 Linux