I would like to know how to sync directories with same owner, timestamp, group etc
I tried below but it ask for my password and respective files/directories will be copied with my name. Please suggest on this.
rsync -avz /home/duser/p server2:/home/duser/