1RENAME(1)                  Linux Programmer's Manual                 RENAME(1)
2
3
4

NAME

6       rename - Rename files
7

SYNOPSIS

9       rename from to file...
10       rename -V
11

DESCRIPTION

13       rename  will  rename  the specified files by replacing the first occur‐
14       rence of from in their name by to.
15
16
17       -V, --version
18              Display version information and exit.
19
20
21       For example, given the files
22              foo1, ..., foo9, foo10, ..., foo278, the commands
23
24              rename foo foo0 foo?
25              rename foo foo0 foo??
26
27       will turn them into foo001, ..., foo009, foo010, ..., foo278.
28
29       And
30              rename .htm .html *.htm
31
32       will fix the extension of your html files.
33
34

SEE ALSO

36       mv(1)
37

AVAILABILITY

39       The rename command is part of the util-linux-ng package and  is  avail‐
40       able from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
41
42
43
44                                1 January 2000                       RENAME(1)
Impressum