E2MV(1)
π E2MV(1) β like, the e2mv page, bestie
okay so real talk, this is the manual page for e2mv from the User commands section of the manual. buckle up, it's short and it's iconic. β¨
πΈ NAME πΈ
e2mv β moves or renames files on an ext2fs filesystem
π¦ SYNOPSIS π¦
e2mv [options] files... dest
β¨ DESCRIPTION β¨
So the e2mv command moves or renames files on an ext2fs filesystem. that's the whole vibe. π
the source files have to be explicitly stated β like, you gotta name them yourself, no shortcuts. and no cap: it does not use regular expressions. yet. so don't come in here expecting regex magic, it's giving "someday maybe." π
π OPTIONS π
-fβ Force the operation to remove any existing files. (she will β¨deleteβ¨ what's in her way, respectfully.)-sβ Swap names of the two files. (they trade places, main character energy for both π«Ά)-vβ Be verbose. (she'll tell you everything she's doing, and honestly? we love that.)
π EXAMPLES π
Rename a file:
e2cp -v /tmp/boot.img:/boot/grub/grub.conf /boot/grub/grub.conf.old
so if /boot/grub/grub.conf.old already exists and is not a directory, this will fail. π use -f to force removal. no -f? no dice.
Move a file to a different directory (/data/processed):
e2cp -v /dev/hdb1:/data/input0.txt /data/processed
look at her go, relocating with grace. π¦
To swap the names of two files:
e2cp -vs /tmp/boot.img:/boot/grub/grub.conf /boot/grub/grub.conf.bk
To swap two files and use a new name for the first one:
e2cp -vs boot.img:/boot/grub/grub.conf /boot/grub/grub.c2
/boot/grub/grub.c1
and the receipts, bestie:
/boot/grub/grub.conf is now /boot/grub/grub.c1 and /boot/grub/grub.c2 is now /boot/grub/grub.conf
periodt. π
π SEE ALSO π
e2tools(7), e2ln(1), e2ls(1), e2mkdir(1), e2cp(1), e2rm(1), e2tail(1).
π AUTHOR π
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).
ok that's the whole page, you're literally an e2mv expert now π§ no thoughts, just moves. slay. π
this page belongs to the Linux fam, dated 2020-02-05, and it's E2MV(1) through and through β byeeee πβ¨π
π¦ where this page comes from
- alpine 3.24: e2tools-doc 0.1.2-r1 Β· GPL-2.0-only
- debian bookworm: e2tools 0.1.0-3 Β· GPL-2.0-or-later
- debian trixie: e2tools 0.1.2-1 Β· GPL-2.0-or-later
- fedora 43: e2tools 0.1.0-14.fc43 Β· GPL-1.0-or-later
- fedora 44: e2tools 0.1.0-15.fc44 Β· GPL-1.0-or-later
- nixos 26.05: e2tools 0.1.2
- nixpkgs unstable: e2tools 0.1.2
- ubuntu jammy: e2tools 0.1.0-2 Β· GPL-2.0-or-later
- ubuntu noble: e2tools 0.1.0-3build2 Β· GPL-2.0-or-later
- ubuntu questing: e2tools 0.1.2-1
- ubuntu resolute: e2tools 0.1.2-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: e2tools 0.1.2-1build1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms