Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am looking to perform a diff between 2 directories, both of which contain may files and subdirectories.

I am hoping to perform a one-way diff between a source and target directory that will return only the following:

  1. Files that exist in source but not in target
  2. Files that have changes in source that do not exist in target

So this would exclude:

  1. Files that exist in the target but not in the source
  2. Any additions that have been made to files in the target directory that do not conflict with a line in the source
  3. Any changes related to whitespace

Is this possible? I am using Cygwin.

share|improve this question
    
Can you elaborate on 'Any additions that have been made to files in the target directory that do not conflict with a line in the source'? –  mfcovington May 22 at 6:20

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.