include/exclude ?
Kapoor, Nishikant X
Nishikant.X.Kapoor at xcelenergy.com
Sat Dec 1 03:09:35 EST 2001
All,
Could someone please help me resolve this:
[admx:test] $ ls
ERR01 ah01 ah02 an01 an02 mp01 mp02
[admx:test] $ ls {an,mp,ERR}*
ERR01 an01 an02 mp01 mp02
I want to rsync only the "{an,mp,ERR}*" files across using the following
command but do not see the expected results.
[admx:test] $ rsync -va --exclude="*" --include="{an,mp,ERR}*" ./*
mm2x::AppError
building file list ... done
wrote 67 bytes read 337 bytes 269.33 bytes/sec
total size is 0 speedup is 0.00
I am running 'rsync version 2.3.1 protocol version 20' on a IBM
RS6000/F50 running AIX 4.3.1 on both sides.
Thanks
Nishi
More information about the rsync
mailing list