home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 6 File / 06-File.zip / sfn10.zip / readme.txt next >
Text File  |  1998-02-28  |  2KB  |  57 lines

  1. Short Filename Namer 1.0
  2. ------------------------
  3.  
  4. This REXX script will recursively read all files from a given directory,
  5. mangle their names into non-conflicting 8.3 format and link them to a given
  6. directory on a TVFS (virtual) partition.  It will also change such
  7. characters as '(space)','+','[',']',';','=' and ',' that are FAT
  8. incompatible to apropriate "equivalents".  A whole drive can be mapped this
  9. way without touching your original files!!
  10.  
  11. It takes the first 8 characters of a filename and the first 3 character
  12. after the last dot in that filename to constitute a DOS compatible
  13. filename.  Periods in the first 8 characters will be elimated.  Incompatible
  14. characters will be vaporised.  Then, some filename conflict checking will be
  15. made, and if found, it will stamp a ~# before the period or at the end of
  16. the filename to differiciate them.  On HPFS, since filenames are always in
  17. alphanumeric order, ~# will be incremented by their respective long
  18. filename sorting order.  BEWARE!!  SFN.CMD makes no directory checking, it
  19. will FAIL miserably if either realpath or virtualpath doesn't exist.
  20.  
  21. The program isn't super fast.  The main reason being that I can't use use
  22. TVFS REXX support as it contains a _serious_ flaw:  it doesn't work with
  23. filenames with spaces.  DOH!!!!  Complain to TVFS author.
  24.  
  25. For myself, I seem to have problem remounting drives (gives garbage) and
  26. unlinking the root dir is a pain in the butt with tvulink -d x: * ...  It's
  27. a miracle TVFS works at all (at least for me).  Well, better than nothing!
  28.  
  29. Limitations
  30. -----------
  31.  
  32. - The directories are read only (0 bytes free), although the files are not.
  33. - Renaming is futile.
  34. - There seems to be a problem with % signs in filenames, can't figure out
  35.   why... must be a hidden bug (err feature) in REXX.
  36.  
  37.  
  38. I make NO warranty for this code, and everyone is free to do whatever they
  39. want with it... gimme the credits though :)
  40.  
  41.  
  42. Contacting the Author
  43. =====================
  44.  
  45. Samuel Audet
  46.  
  47. E-mail:       guardia@cam.org
  48. Homepage:     http://www.cam.org/~guardia
  49. IRC nick:     Guardian_ (be sure it's me before starting asking questions though)
  50. Talk Client:  Guardian@guardian.dyn.ml.org
  51.  
  52. Snail Mail:
  53.  
  54.    377, rue D'Argenteuil
  55.    Laval, Quebec
  56.    H7N 1P7   CANADA
  57.