MediaWiki talk:Diff-dd
From Universalwiki
Recursive remote diff:cd {local-dir}for i in `find {subdir} -type f ` ; do echo "=== $i ===" ; ssh {remote-user}@{remote-host} "cat {remote-dir}/$i" | diff {local-dir}/$i ; doneExample:cd ~/root-of-my-local-project-dirfor i in `find app/controllers/ -type f ` ; do echo "=== $i ===" ; ssh "cat root-of-remote-project-dir/$i" | diff ~/root-of-my-local-project-dir/$i ; doneNote: {subdir} can be "." if you want evrityheng from {local-dir}