Re: directory scanning

2002-07-25 Thread zentara
On Thu, 25 Jul 2002 12:25:06 -0400, [EMAIL PROTECTED] (Bob Showalter) wrote: >Uh, you're running the digest on the file *names* and not >the file *contents*. Obviously, the file *names* aren't the >same! Thanks Bob, I gloss over the details sometimes. :-) This one works fine: ###

Re: directory scanning

2002-07-25 Thread Felix Geerinckx
on Thu, 25 Jul 2002 16:18:00 GMT, Zentara wrote: > I checked the files with a hexdiff program and > they are identical. I wonder if Digest::MD5 can > be trusted??? Oh yes, it can. You should reread perldoc Digest::MD5 the md5_hex function expects data as its argument, not a filename. You

RE: directory scanning

2002-07-25 Thread Bob Showalter
> -Original Message- > From: zentara [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 12:18 PM > To: [EMAIL PROTECTED] > Subject: Re: directory scanning > > > On Thu, 25 Jul 2002 08:09:17 -0400, [EMAIL PROTECTED] (William > Black) wrote: > >

Re: directory scanning

2002-07-25 Thread zentara
On Thu, 25 Jul 2002 08:09:17 -0400, [EMAIL PROTECTED] (William Black) wrote: >Hi All, > >I need an idea on how to approach a script. Say I had a directory X with 50 >files in it and I have another directory Y that is suppose to have the same >exact files in it as X. How could someone approach

RE: directory scanning

2002-07-25 Thread Nikola Janceski
Funny. I wrote a script that does that, but recursively for all subdirs too. Here's a good place to start: File::Find > -Original Message- > From: Sudarshan Raghavan [mailto:[EMAIL PROTECTED]] > Sent: Thursday, July 25, 2002 8:56 AM > To: Perl beginners > Subject: re

re: directory scanning

2002-07-25 Thread Sudarshan Raghavan
On Thu, 25 Jul 2002, William Black wrote: > Hi All, > > I need an idea on how to approach a script. Say I had a directory X with 50 > files in it and I have another directory Y that is suppose to have the same > exact files in it as X. How could someone approach checking directory Y > agins

re: directory scanning

2002-07-25 Thread William Black
Hi All, I need an idea on how to approach a script. Say I had a directory X with 50 files in it and I have another directory Y that is suppose to have the same exact files in it as X. How could someone approach checking directory Y aginst X to see if they had the same files? Thks, William