Manav Gupta

Thoughts on Cloud Computing, Service Managment and more

Archive for June 2010

rsync / grsync and exclude files

leave a comment »

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)
–exclude-from=
In the exclude file, you need patterns in the order:
*.exe
*.htm
(they don’t work without the leading asterisk. go figure)

Written by Manav Gupta

June 20, 2010 at 11:51 am

Posted in Uncategorized