rsync / grsync and exclude files

You'd think that these tools would be straightforward to use. Took me over 30 minutes to get grsync to work correctly for excluding some files from source.

This is the syntax you need (you can add this to "additional options" in grsync)


In the exclude file, you need patterns in the order:


(they don't work without the leading asterisk. go figure)


  1. Anonymous12:02 am

    30 mins, you're lucky, I've spent, on and off, several hours trying to get grsync to exclude folders listed in a file. --exclude=xclude_this/ works OK, but --exclude=xclude_list.txt, where xclude_list.txt contains as its only line, xclude_this/ DOES NOT. Figure that one out.

  2. Anonymous2:24 pm

    Sant Ritz's charming address offers a world of opportunities for your little ones in the future.the interlace condo