LinuxCommandLibrary

mren

renames files and directories on MS-DOS filesystems

TLDR

Rename file on MS-DOS disk

$ mren [a:/oldname.txt] [a:/newname.txt]
copy
Rename directory
$ mren [a:/olddir] [a:/newdir]
copy
Verbose output
$ mren -v [a:/old] [a:/new]
copy

SYNOPSIS

mren [options] source target

DESCRIPTION

mren renames files and directories on MS-DOS filesystems. It's part of the mtools package.
The tool works directly on FAT disks. Does not require mounting the filesystem.

PARAMETERS

SOURCE

Original MS-DOS file/directory name.
TARGET
New MS-DOS file/directory name.
-v
Verbose mode.
--help
Display help information.

CAVEATS

Part of mtools. MS-DOS naming conventions apply. 8.3 filename limits on older systems.

HISTORY

mren is part of mtools, the MS-DOS filesystem utilities collection for Unix systems.

SEE ALSO

mcopy(1), mmove(1), mdir(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community