In rsync, how do I something equivalent to "exclude everything BUT..."

cmai

Member
Feb 1, 2003
144
0
0
Anyone familiar with rsync,

Say I want only several or so files from various places. How do I make rsync only check these specific files and not have to do:

exclude from = exclude.test

exclude.test

- asdf
- asdf
- kitchen sink
..
.
.
.
.


Thanks!