[CentOS] rsync

Fri Mar 7 21:26:13 UTC 2008
Marcelo Roccasalva <marcelo-centos at irrigacion.gov.ar>

On Fri, Mar 7, 2008 at 6:25 PM, Toby Bluhm <tkb at midwestinstruments.com> wrote:
>
> Craig White wrote:
>  > On Fri, 2008-03-07 at 19:09 +0000, Anne Wilson wrote:
>  >
>  >> On Friday 07 March 2008 18:40:03 Craig White wrote:
>  >>
>  >>> I've gone over and over the man page and I don't get it and it's
>  >>> obviously a simple task
>  >>>
>  >>> I want to rsync a directory but only the pdf files...
>  > - Build-PDF/

If you don't mind replicating empty subdirs:

rsync -va --include "*.avi" --include "*/" --exclude "*"  $WORKING $WEB_SERVER

-- 
Marcelo

"¿No será acaso que ésta vida moderna está teniendo más de moderna que
de vida?" (Mafalda)