Re: rsync

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Fri, Mar 7, 2008 at 6:25 PM, Toby Bluhm <tkb@xxxxxxxxxxxxxxxxxxxxxx> 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)
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux