Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Jul 6th, 2012  |  syntax: None  |  size: 0.33 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Cygwin diff won't exclude files if a directory is included in the pattern
  2. diff -rw --exclude="classes/Services.xml"
  3.        
  4. diff -rw --exclude="Services.xml"
  5.        
  6. diff -rw --exclude="*/generated/resources/client/*.xml"
  7.        
  8. $ find tree1 -type f ! -path '*classes/Services.xml' |
  9.     while read f; do diff -rw "$f" "tree2${f#tree1}"; done