]> cygwin.com Git - cygwin-apps/cygutils.git/blob - src/rename/rename.1
Fixes for cygstart; bump version number and documentation
[cygwin-apps/cygutils.git] / src / rename / rename.1
1 .\" Written by Andries E. Brouwer (aeb@cwi.nl)
2 .\" Placed in the public domain
3 .\"
4 .TH RENAME 1 "1 January 2000" "" "Linux Programmer's Manual"
5 .SH NAME
6 rename \- Rename files
7 .SH SYNOPSIS
8 .BI rename " from to file..."
9 .SH DESCRIPTION
10 .B rename
11 will rename the specified files by replacing the first occurrence of
12 .I from
13 in their name by
14 .IR to .
15
16 For example, given the files
17 .IR foo1 ", ..., " foo9 ", " foo10 ", ..., " foo278 ,
18 the commands
19
20 .RS
21 .nf
22 rename foo foo0 foo?
23 rename foo foo0 foo??
24 .fi
25 .RE
26
27 will turn them into
28 .IR foo001 ", ..., " foo009 ", " foo010 ", ..., " foo278 .
29
30 And
31 .RS
32 .nf
33 rename .htm .html *.htm
34 .fi
35 .RE
36
37 will fix the extension of your html files.
38
39 .SH "SEE ALSO"
40 .BR mv (1)
This page took 0.036141 seconds and 5 git commands to generate.