In <can0cfw06x_7g-z3nthok35l2co4euv9h1+40yzpi_oi_8ff...@mail.gmail.com>, on 07/02/13 at 12:25 PM, Grant <[email protected]> said:
Hi, >> rsync -azvi --exclude-from=excludes.txt --delete --delete-excluded / >> user@hostname: >> excludes.txt: >> + / >> + /etc >> + /etc/** >> + /home >> + /home/*/ >> + /home/*/.maildir/ >> + /home/*/.maildir/** >> - - * >So the includes are in excludes.txt prefixed with "+ " and the excludes >are prefixed with "- - "? Since excludes.txt is an --exclude-from file, the - is optional. Similarly, if you are using an --include-from file, the + is optional. These are both specializations of the generic --filter='merge filters.txt' filter option. See the rsync man page for the gory details. Steven -- ---------------------------------------------------------------------- "Steven Levine" <[email protected]> eCS/Warp/DIY etc. www.scoug.com www.ecomstation.com ---------------------------------------------------------------------- -- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
