[CentOS] rsync
Filipe Brandenburger
filbranden at gmail.comSat Mar 8 01:20:58 UTC 2008
- Previous message: [CentOS] rsync
- Next message: [CentOS] rsync
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, Mar 7, 2008 at 4:26 PM, Marcelo Roccasalva <marcelo-centos at irrigacion.gov.ar> wrote: > If you don't mind replicating empty subdirs: > > rsync -va --include "*.avi" --include "*/" --exclude "*" $WORKING $WEB_SERVER The option "--prune-empty-dirs" does the trick! rsync -av --include '*.pdf' --include='*/' --exclude='*' --prune-empty-dirs "$WORKING" "$WEB_SERVER" Note: I'm using rsync 3.0.0 from rpmforge repository, I don't know if it's available in rsync 2... Filipe
- Previous message: [CentOS] rsync
- Next message: [CentOS] rsync
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list