Re: traversing a file tree...one step further (find duplicate files)

2002-01-10 Thread Joshua Nye
25562 Apr 8 2001 ./perl-5.6.1/ext/B/B/Concise.pm Duplicate: 3653638 28 -r--r--r-- 1 josh users 25562 Apr 8 2001 ./perl-5.6.1/lib/B/Concise.pm - Original Message - From: "Ben Crane" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, J

Re: traversing a file tree...one step further

2002-01-10 Thread Sudarsan Raghavan
The find routine of File::Find traverses a file tree (recurses through the subdirectories as well). Try out the following piece of code use strict; use File::Find; find (sub {print "$File::Find::name\n";}, $yourdirname); This should print all the files and subdirectories within $yourdirname to t

traversing a file tree...one step further

2002-01-10 Thread Ben Crane
Hi list, I have got a program running that opens a text file, finds file names within the txt file and then runs a file::find to determine the location of these files (within the same directory). My next question is: If i want to write a list of all the files within more than one directory how do