Blob


1 .Dd July 07, 2022
2 .Dt RENE 1
3 .Os
4 .Sh NAME
5 .Nm rene
6 .Op Fl ailnov
7 .Nd rename files
8 .Sh SYNOPSIS
9 .Nm
10 .Ar from to file ...
11 .Sh DESCRIPTION
12 The utility
13 .Nm
14 renames the supplied
15 .Ar files
16 by replacing the first occurence of
17 .Ar from
18 with
19 .Ar to .
20 .Pp
21 The options are as follows:
22 .Bl -tag -width Ds
23 .It Fl a
24 Replace all occurences of
25 .Ar from
26 instead of only the first one. Overrides
27 .Fl l .
28 .It Fl i
29 Prompt to stderr before overriding existing files. A renaming operation is only
30 attempted if the response form stdin begins with the character
31 .Dq y .
32 .It Fl l
33 Replace the last occurence of
34 .Ar from
35 instead of the first one.
36 .It Fl n
37 Don't actually rename any files. Useful with
38 .Fl v .
39 .It Fl o
40 Don't override existing files. Disables
41 .Fl i .
42 .It Fl v
43 Display the old and new names of each renamed file.
44 .El
45 .Sh EXIT STATUS
46 .Ex -std
47 .Sh SEE ALSO
48 .Xr mv 1 ,
49 .Xr rename 2
50 .Sh AUTHORS
51 .An Alexander Arkhipov Aq Mt src@mineeyes.cyou .