home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
c
/
aren.man
< prev
next >
Wrap
Text File
|
1995-02-27
|
2KB
|
70 lines
AREN Amiga User's Manual AREN
1mNAME0m
Aren - rename a file by changing a part of the original filename
1mSYNOPSIS0m
Aren [-i] oldpattern newpattern file [file...]
1mDESCRIPTION0m
It may happen you need to rename several files at once. If you add a
suffix or a prefix, the common 'rename' command is enough. But if you
want to replace a common pattern into a new one (even remove a part of
the filename), you won't be able to do it easily with just the rename
command. you can use a shell script, but you may not have all the
command necessary to do this job.
Aren replaces the first occurence of 'oldpattern' with 'newpattern' by
renaming the files.
1mOPTIONS0m
-i
Ignore the case of letters in making comparisons. Default is case
sensitive. Case sensitive may help you to locate accurately the
beginning of the pattern to replace.
oldpattern
Original pattern of the filename to replace
newpattern
pattern replacing the old one.
1mERRORS0m
If an error occurs, the program doesn't stop and go on processing the
rest of the files, but a text explaining the problem is printed on the
standard error output.
1mEXAMPLE0m
Renaming all the files "floo#?" into "fluu#?"
Aren oo uu floo#?
1mWARNING0m
The source code can be compiled on UNIX machine.
1mAUTHOR0m
© MENDEZ Marc (mendez@platon.emi.u-bordeaux.fr)
or
MENDEZ Marc
Residence Le Mail
Batiment B Appartement 414
Rue Louis Jouvet
33600 PESSAC
Thanks to Jean Christophe Desplat for the idea.
1mCOPYRIGHT0m
Fevrier 1994 MENDEZ Marc. All rights reserved. No commercial use
authorized without the author's agreement.