A
download rename.1
Language: NonCode
LOC: 0
Project Info
pkg-loop-aes
Server: Debian-SVN
Type: svn
...\loop‑aes‑utils\misc‑utils\
   cal.1
   cal.c
   cal_test.sh
   chkdupexe.1
   chkdupexe.pl
   ddate.1
   ddate.c
   flushb.c
   kill.1
   kill.c
   kill.h
   logger.1
   logger.c
   look.1
   look.c
   mcookie.1
   mcookie.c
   namei.1
   namei.c
   procs.c
   README.cal
   README.namei
   README1.namei
   rename.1
   rename.c
   reset.1
   reset.sh
   script.1
   script.c
   scriptreplay.1
   scriptreplay.pl
   setterm.1
   setterm.c
   sparc-solaris-hostid.sh
   whereis.1
   whereis.c
   write.1
   write.c

.\" Written by Andries E. Brouwer (aeb@cwi.nl)
.\" Placed in the public domain
.\"
.TH RENAME 1 "1 January 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 mmv (1),
.BR mv (1)

About Koders | Resources | Downloads | Support | Black Duck | Terms of Service | DMCA | Privacy Policy | Contact Us