CP problem

Ok, i have 2 servers.

I use this command on both servers:-
cp -a /users/dir/a/ /users/dir/b/

The problem is one of the server would copy the files as "/users/dir/b/a" and the other server as "/users/dir/b/subdirectoryof(a)".

This mean that server 1 will show:
/users/dir/b/a

Server 2:
/users/dir/b/subdirectoryof(a)

How to make server 1 to be same as server 2?

Do not suggest to use wildcard.

 

 

 

 

Top