I suggest you do this outside perl with a commonly available "diff" tool, but the Perl module Algorithm::Diff would be sufficient, too. Get the file listings with a Win32 dir /s /b command, or a Un*x find command. The trick is to sort your file listings and remove any useless prefix stuff before comparing.