One tip I got when asking for something similar is this trick:
rsync -a -e "ssh -i /etc/webackup.d/ssh/id_dsa" --recursive --compress --numeric-ids --modify-window=1 --timeout=120 --files-from=- --partial --partial-dir='/webackup/host/linux/partial' --link-dest='/webackup/host/linux/2007-01-27 02.00.02' --filter='. /dev/fd/3' -vi --stats -h [EMAIL PROTECTED]:'/' '/webackup/host/linux/2007-01-28 02.00.01' << ENDFILES 3<< ENDFILTER etc usr/local/bin usr/local/sbin var/spool/cron ENDFILES . /etc/webackup.d/filters/default . /etc/webackup.d/filters/default.linux - mrtg - adjtime - statistics - random_seed - mtab - ioctl.save - aliases.db - printcap - secrets.tdb - .thumbnails ENDFILTER Notice how both --files-from and --filter are directed from heredoc texts. The filter "includes" two other filter files: default and default.linux -- Jannes Faber On 1/28/07, Lancashire, Pete <[EMAIL PROTECTED]> wrote:
I'm was wondering if this has been asked about/for multiple exclude-from files ? Where I could find this useful is say I had a common or base exclusion list for all my AIX boxes --exclude-from=/foo/aix_base Then be able to add for say all my AIX boxes that are running SAP --exclude-from=/foo/aix_base --exclude-from=/foo/sap or --exclude-from=/foo/aix-base,/foo/sap and so on ... -pete
-- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html