Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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

2 Answers 2

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.