Re: rsync - including only certain extensions
I'd use the
Code:
--include-from=FILE
option. Put the regular expressions of the files you want to backup, one per line, into a file and use that filename in the option. It may a bit of experimenting to get the names correct, but if you're trying to only include a certain subset of names, this will be the easiest to use (and maintain).
E. A. (Ed) Graham, Jr.
Linux User #28251
Professional Java Geek