/Diff_Script

diff files in two directories

Primary LanguageShell

diff script

comparing between files in two trees of directory

  1. find a file NAME1 in the first directory
  2. find a file NAME2 with the same name of NAME1 in the second directory((string) NAME1= (string) NAME2)
  3. diff between NAME1 file and NAME2 file
  4. if these two files are not the same, print the file's name