home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d9xx / d996 / aren.lha / Aren / aren.1 < prev    next >
Text File  |  1994-04-05  |  2KB  |  57 lines

  1. HEADER Aren 
  2. NAME
  3. Aren - rename a file by changing a part of the original filename
  4.  
  5. SYNOPSIS
  6. Aren [-i] oldpattern newpattern file [file...]
  7.  
  8. DESCRIPTION
  9. It may happen you need to rename several files at once. If you add a
  10. suffix or a prefix, the common 'rename' command is enough. But if you
  11. want to replace a common pattern into a new one (even remove a part of
  12. the filename), you won't be able to do it easily with just the rename
  13. command. you can use a shell script, but you may not have all the
  14. command necessary to do this job. 
  15. Aren replaces the first occurence of 'oldpattern' with 'newpattern' by
  16. renaming the files.
  17.  
  18. OPTIONS
  19. -i
  20. Ignore the case of letters in making comparisons. Default is case
  21. sensitive. Case sensitive may help you to locate accurately the
  22. beginning of the pattern to replace.
  23.  
  24. oldpattern
  25. Original pattern of the filename to replace
  26.  
  27. newpattern
  28. pattern replacing the old one.
  29.  
  30. ERRORS
  31. If an error occurs, the program doesn't stop and go on processing the
  32. rest of the files, but a text explaining the problem is printed on the
  33. standard error output.
  34.  
  35. EXAMPLE
  36.     Renaming all the files "floo#?" into "fluu#?"
  37.  
  38.     Aren oo uu floo#?
  39.  
  40. WARNING
  41. The source code can be compiled on UNIX machine.
  42.  
  43. AUTHOR
  44. © MENDEZ Marc (mendez@platon.emi.u-bordeaux.fr)
  45. or 
  46. MENDEZ Marc
  47. Residence Le Mail
  48. Batiment B Appartement 414
  49. Rue Louis Jouvet
  50. 33600 PESSAC
  51.  
  52. Thanks to Jean Christophe Desplat for the idea.
  53.  
  54. COPYRIGHT
  55. Fevrier 1994 MENDEZ Marc. All rights reserved. No commercial use
  56. authorized without the author's agreement.
  57.