I want to move some files in /etc from box pentapp1 to boxes pentapp2 and pentinf1.
I also want to create /home directories from pentapp1 if they don’t exist on pentapp2 and pentinf1, but not copy the contents of the directory. I can’t find a tutorial that is helpful.
To get the feel of rsync I’ve done the following using RSYNC_PASSWORD=”mypasswd”, but it still asked for a passwd. What am I doing wrong?
I also want to create /home directories from pentapp1 if they don’t exist on pentapp2 and pentinf1, but not copy the contents of the directory. I can’t find a tutorial that is helpful.
To get the feel of rsync I’ve done the following using RSYNC_PASSWORD=”mypasswd”, but it still asked for a passwd. What am I doing wrong?
Code:
export RSYNC_PASSWORD=”mypasswd”
rsync -avz *.unl pentapp2:/home/ejaggers/Tmp