[lug] rsync exclude/include

Rob Nagler nagler at bivio.biz
Thu Sep 18 15:33:25 MDT 2003


Hugh Brown writes:
> on the server I want to have /web/api/javadoc/<projectname>/javadoc/

How about:

    cd /build/src/web/api/javadoc; rsync -azlCSR */javadoc server:/web/api/javadoc/

The -R (relative) gives you what you want, I believe.

Rob
    



More information about the LUG mailing list