So back during the OpenStack Summit in HK the idea was brought up that we should just specify using the same grammar as rsync for doing this. See these links for examples of this:
I think this section is probably the relevant portion(at least part of it):
-F same as --filter='dir-merge /.rsync-filter' repeated: --filter='- .rsync-filter'
--exclude=PATTERN exclude files matching PATTERN
--exclude-from=FILE read exclude patterns from FILE
--include=PATTERN don't exclude files matching PATTERN
--include-from=FILE read include patterns from FILE
--files-from=FILE read list of source-file names from FILE
So back during the OpenStack Summit in HK the idea was brought up that we should just specify using the same grammar as rsync for doing this. See these links for examples of this:
http:// www.thegeekstuf f.com/2011/ 01/rsync- exclude- files-and- folders/
and the man page:
http:// linux.die. net/man/ 1/rsync
I think this section is probably the relevant portion(at least part of it):
-F same as --filter='dir-merge /.rsync-filter'
repeated: --filter='- .rsync-filter' exclude= PATTERN exclude files matching PATTERN exclude- from=FILE read exclude patterns from FILE include= PATTERN don't exclude files matching PATTERN include- from=FILE read include patterns from FILE files-from= FILE read list of source-file names from FILE
--
--
--
--
--