$ diff <(cd dir1 && find | sort) <(cd dir2 && find | sort)
This uses Bash's "process substitution" feature to compare (using diff) the output of two different process pipelines.
Submitted by mbirk
Options:
commandlinefu.com by David Winterbottom
0sem comentários ainda