linux - Using diff and suppressing entirely different files -
i have 2 copies of application source code. 1 copy encoded, while other not. there config files scattered through-out application's directory structure, , compare.
is there way use diff where-by can ignore wildly different files (ie: encrypted file , unencrypted file), , report difference on similar-yet-different files (the configs).
you write script uses find
find files based on name or other criteria , file
determine whether have same type of contents (i.e. 1 compressed, 1 not).
for me more specific need give more details whether these parallel directory structures (files , directories appear in same places in 2 trees) , whether files looking have names distinguish them files want ignore. additional information can provide might more.
Comments
Post a Comment