can anyone script this for me?
I have dir1, dir2 and dir3 dir1/ +--- x.txt +--- y.txt +--- z.txt +--- xy.txt
dir2/ +--- x1.txt +--- y.txt +--- z.txt +--- x2y.txt
i want to move all files from dir1/ and dir2/ to dir3/ except the common files like y.txt and z.txt dir3 should contain
dir3/ +--- x1.txt +--- x2y.txt +--- x.txt +--- xy.txt
any command to do this?