Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

"rsync" doesn't seem to synchronize create empty directories on the target_dir ( I have empty dir under "from_dir" directory ) , so why rsync not copy the the empty dir from "from_dir" to "target_dir" ?

rsync -WavH –progress /from_dir
share|improve this question
Is the 'empty_dir' readable by the user running rsync? – desasteralex Jul 22 '11 at 22:11

1 Answer 1

Works for me:

$ rsync --version | head -n 1
rsync  version 3.0.7  protocol version 30
$ mkdir src
$ mkdir dest
$ mkdir src/emptydir
$ mkdir src/fulldir
$ touch src/fulldir/file
$ rsync -WavH -progress src/ dest/
$ ls -lR dest
emptydir/  fulldir/



Please provide a demonstration of the erroneous behaviour you're seeing, in a similar form to this.

share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.