Then use diff to compare the results. This gives the advantage that, if a line starts with +, then a new file has been added. If it's -, a file has been deleted :)
$ ls -lR > listing1.txt $ ls -lR > listing2.txt
$ diff listing1.txt listing2.txt > diff.txt
Of course, this works on a Un*x environment.
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>