I have a collection of files, in a directory tree. They are in many ZIP and LHA formatted files.  I wish to unpack all the files, while maintaining the directory structure, to a different location.
Can someone suggest a simple script I can run that will do this?
The current tree looks like:
Maindir
   file1.zip
   dir1
      dir2
         file2.lha
         file3.zip
      dir3
         file4.lha
   dir4
      file5.zip
and should look like this after the script is run:
Altdir
   file1
   file1.icon
   dir1
      dir2
         file2
         file2.icon
         file2.readme
         file3
      dir3
         file4
         file4.info
         file4.dir
            file4.readme
   dir4
      file5