[vox-tech] rsync filters

Ken Herron kherron+lugod at fmailbox.com
Thu Mar 29 12:23:25 PDT 2007


Wade Pinkston wrote:
> $RSYNC -av --modify-window=2 --delete --filter=".ipodsycfilter" $MUS/ 
> $IPOD/

The --filter option specifies a filter rule, not the name of a file 
containing rules. You can specify a file of filter rules like this:

	--filter=". name-of-file"

where "name-of-file" would be ".ipodsyncfilter" in your case. These will 
also work for simple include/exclude patterns; not sure about protect:

	--include-from=name-of-file
	--exclude-from=name-of-file

Additionally, I've never used the protect feature, but it looks like 
that line should be more like "P .rockbox".


More information about the vox-tech mailing list