diff <(ls old) <(ls new)
原文:https://askubuntu.com/questions/229447/how-do-i-diff-the-output-of-two-commands