Hi,
I'm trying to get an rsync to transfer files using an --exclude-from file.
Syntax:
===================
/usr/local/bin/rsync --rsync-path=/usr/local/bin/rsync --rsh "/usr/bin/rsh"
-av --stats --exclude-from=/export/home/rsync/filelist /prod/app
host2:/prod/app > /tmp/rsync_list1.log
This is an exclude file: /export/home/rsync/filelist
========================
profiles/T100.html ==> works
listec/comp_[A-Zt2ig7].html ==> doesn't work
listec/comp_[A-Z]*.html ==> doesn't work
listec/[0-9]* ==> doesn't work
.precious/ ==> works
As I noticed when I put only a pattern like [0-9]* it excludes the right
files but if I put the pattern in the file name then it doesn't work
(listec/[0-9]*. How can I rsync all files names which start with numbers
but exclude those in /listec directory?
Any hints?
Thanks,
Magda