home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 16108 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1.5 KB

  1. Path: sparky!uunet!van-bc!tvbbs.wimsey.bc.ca!Paul_Wolodko
  2. From: Paul_Wolodko@tvbbs.wimsey.bc.ca (Paul Wolodko)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Unique ID of a File?
  5. Distribution: world
  6. Message-ID: <Paul_Wolodko.047d@tvbbs.wimsey.bc.ca>
  7. Date: 19 Nov 92 16:35:15 PST
  8. Organization: Tunnel-Vision BBS!
  9. Lines: 27
  10.  
  11.         I'll make this short (not sweet but definitely short). I 
  12. am trying to find a way to compare two files, without two copies
  13. of the file. Confused? (Might be a tad longer than I originally
  14. thought.) What I'm doing is packing (or archiving) away original
  15. disks. Since almost all of these disks have copies of the
  16. workbench files/utilities (I don't see why I would need 300+
  17. copies of the "LoadWB" program, do you?), I would like to strip
  18. those before I archive the entire disk's contents. To guarantee
  19. that any programs to be "stripped" are actual copies of a
  20. workbench original, I compare these file(s) against the workbench
  21. original. If they are the same file, it can be safely removed.
  22. One large drawback of this method, I must have copies of the
  23. original workbench files handy. It would be much "nicer" if I
  24. could somehow compute a file's ID, and compare just the IDs of
  25. workbench original and this file. Back to my original question,
  26. is there an algorithm that will do this for me, CRC, CheckSum?
  27. Any gurus out there with the answer?
  28.  
  29.  
  30. Thanks for any help, bye.
  31.  
  32. -- Via DLG Pro v0.995
  33.  
  34.  _ __ 
  35. ' )  )         /)   UseNet - Paul_Wolodko@tvbbs.wimsey.bc.ca
  36.  /--' __. . . //   Fido - 1:153/910.0 & 1:153/941.0
  37. /    (_(_(_/_(/_  AmigaNet - 40:800/910.0
  38.