View Single Post
Old 11-17-2004, 07:16 AM   #7 (permalink)
theFez
Crazy
 
Location: here and there
Quote:
Originally Posted by hrdwareguy
Close, but actually it would be

rename *.html *.jpg
You sure?

RENAME(1) Linux Programmer's Manual RENAME(1)

NAME
rename - Rename files

SYNOPSIS
rename from to file...

DESCRIPTION
rename will rename the specified files by replacing the first occur-
rence of from in their name by to.

For example, given the files foo1, ..., foo9, foo10, ..., foo278, the
commands

rename foo foo0 foo?
rename foo foo0 foo??

will turn them into foo001, ..., foo009, foo010, ..., foo278.

And
rename .htm .html *.htm

will fix the extension of your html files.

SEE ALSO
mv(1)

1 January 2000 RENAME(1)
__________________
# chmod 111 /bin/Laden
theFez is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46