diff options
author | Karel Zak | 2006-12-07 00:25:41 +0100 |
---|---|---|
committer | Karel Zak | 2006-12-07 00:25:41 +0100 |
commit | eb63b9b8f4cecb34c2478282567862bc48ef256d (patch) | |
tree | 99243f8eecb44c2bb6a559982b99c680fcb649e7 /misc-utils/rename.1 | |
parent | Imported from util-linux-2.9v tarball. (diff) | |
download | kernel-qcow2-util-linux-eb63b9b8f4cecb34c2478282567862bc48ef256d.tar.gz kernel-qcow2-util-linux-eb63b9b8f4cecb34c2478282567862bc48ef256d.tar.xz kernel-qcow2-util-linux-eb63b9b8f4cecb34c2478282567862bc48ef256d.zip |
Imported from util-linux-2.10f tarball.
Diffstat (limited to 'misc-utils/rename.1')
-rw-r--r-- | misc-utils/rename.1 | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/misc-utils/rename.1 b/misc-utils/rename.1 new file mode 100644 index 000000000..37f99cc1b --- /dev/null +++ b/misc-utils/rename.1 @@ -0,0 +1,40 @@ +.\" Written by Andries E. Brouwer (aeb@cwi.nl) +.\" Placed in the public domain +.\" +.TH RENAME 1 "1 Januari 2000" "" "Linux Programmer's Manual" +.SH NAME +rename \- Rename files +.SH SYNOPSIS +.BI rename " from to file..." +.SH DESCRIPTION +.B rename +will rename the specified files by replacing the first occurrence of +.I from +in their name by +.IR to . + +For example, given the files +.IR foo1 ", ..., " foo9 ", " foo10 ", ..., " foo278 , +the commands + +.RS +.nf +rename foo foo0 foo? +rename foo foo0 foo?? +.fi +.RE + +will turn them into +.IR foo001 ", ..., " foo009 ", " foo010 ", ..., " foo278 . + +And +.RS +.nf +rename .htm .html *.htm +.fi +.RE + +will fix the extension of your html files. + +.SH "SEE ALSO" +.BR mv (1) |