[Ilugc] how to merge directory contents

  • From: dearsaravanan@xxxxxxxxx (Saravanan S)
  • Date: Wed Jan 13 20:12:13 2010

Hi all,
      I need to merge the contents of several directories, into a single
directory structure,
Like i have
dir1/a/1
dir1/b/2
dir2/a/10
dir2/b/20

after merging dir1 and dir2, i should get,

dirnew/a/1 and 10
dirnew/b/2 and 20

How to do this easily?


Saravanan Sundaramoorthy
Red Hat Certified Engineer
+91 99404 32545

Other related posts: