rename v. script
Jeff Kinz
jkinz at kinz.org
Fri May 20 15:47:27 UTC 2005
On Fri, May 20, 2005 at 08:00:46AM -0700, Emmanuel Deng wrote:
> > On Thu, May 19, 2005 at 11:18:06PM -0400, Jeff Kinz wrote:
> > >
> > > To do what you want, in one simple line:
> > > rename JPG jpg *
> What are u guys talking about? We don't have the
> "rename" command in unix, we have "mv" which tells the
> system to move files or folders from current directory
> to current directory or to another.
>
> Remember, moving a file from current directory to
> current directory means "renaming" the file.
Use the source Emmanuel!
for i in `seq 1 30` ; do touch ${i}.JPG ; done
ls
rename JPG jpg *
ls
Try it.
or try "man rename"
or try "apropos rename"
A week ago I would have agreed with you, but the F/OSS movement is
adding new features to the F/OSS platform(s) that its quite fun
re-learning where the new, ever expanding, boundary lines are.
--
Jeff Kinz, Emergent Research, Hudson, MA.
More information about the fedora-list
mailing list