rsync exclude any filename containing a colon -- how????
Hi
I'm using rsync, and all I want to do is exclude any file which has a colon in its name. (It's necessary because the destination is a windows box.) I've seen a forum posting about this issue which says just a simple --exclude '*:*' will work. But it just doesn't, nor does any variation that I can think of. I've been hours at it, it seems like it should be so simple. Argh! I can't tell you how grateful I will be if you can help me solve this. |
i think that should work
rsync -avz ./* --exclude='*:*' <destination> |
solution
The moment I post, I get the answer -- for me at least.
Don't use the quotes! --exclude=*:* works. |
i just checked what you wanted to do and it works for me ,you have to put singlequotes and an equalto,which you didnot i guess.
|
All times are GMT -5. The time now is 05:01 PM. |