If you are using an older rsync version, try:
rsync -av --include='*/' --exclude='*' /path/to/src /path/to/dest/ rsync -av --include='*/' --exclude='*' /path/to/apache/logs/ root@www.it.net.cn:/path/to/apache/logs/
# cd /var/log/apache/ Sample outputs:
building file list ... done
You can also make local copies as follows: (责任编辑:IT) |