Rsync or what ever 101

I have a directory that is correctly setup up on   /home/timfox123/repo

I want to duplicate that to   /home/timfox123/repo

I am going to need to do this for every server I build so I need to have it simple, and to copies with the directorates / rights and the likes.

This is linux ( ubuntu )   current version
Who is Participating?
Gerwin Jansen, EE MVETopic Advisor Commented:
did you try a basic rsync -avz command from source to destination? if not why and if so what didn't work? should be fairly basic.
TIMFOX123Author Commented:
that will do it

Just never used rsync before.
TIMFOX123Author Commented:
thx   that is what i needed
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.