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

Re: rsyn und include/exclude



Am Samstag, 20. Mai 2006 13:54 schrieb Michael Müller:
> Roland M. Kruggel schrieb:
> > Hallo Liste,
> >
> > folgender rsycaufruf:
> > rsync .... --exclude-from="exfile" --include-from="incfile" ....
> >
> > exfile:
> > ...
> > /var/log/*
> > ...
> >
> > incfile:
> > ...
> > /var/log/*log
> > ...
> >
> > (nur Beispiel)
> >
> > Das exclude funktioniert. Er lässt /var/log komplett aus. Das
> > include funktioniert aber nicht. /var/log/*log wird nicht
> > angefasst.
> >
> > Wo liegt mein denfehler?
>
> Hallo Roland,
>
> versuch's doch mal umgekehrt ...
> rsync .... --include-from="incfile" --exclude-from="exfile"
>
> nur so 'ne Idee, weil beim matching intern wohl erst das exclude
> gefunden wird und es sich um denselben Pfad handelt. Das zweite
> Match wird dann in der Liste nicht mehr erreicht.

wäre ja zu schön gewesen. 
Habe ich auch schon probiert. Leider nein.



Grüße - regards
-- 
Roland Kruggel, Germany, IT-Security Coordinator
tel.(VoIP) 02352 207333  tel.(t-com): 02352 277348   
mobil: 0176 23198511  ICQ: 176-788-939  
www: http://www.bbf7.de

GnuPG Fingerprint: 
B6C9 6190 E2C8 D94F E964 69E3 3A00 A8B9 5DA7 264F



Reply to: