Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I recursively copy all the contents of one folder to another folder using RSYNC? For example: sourcefolder destinationfolder

share|improve this question

migrated from Jan 3 '13 at 23:06

This question came from our site for professional and enthusiast programmers.

man rsync will give you all the help you need. – Femaref Jan 3 '13 at 22:57

The typical usage:

  rsync -avz src dest
share|improve this answer

Well, you already know the command, -r is for recursive. -a is even better as it also preserves timestamps, symbolic links, and so on.

When I use rsync, I always refer to this site, as it is easier to read as a man page.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.