Pass the output of ls to diff
- by joachim
I have one file that contains a list of files from a server, and a local folder that I compare to that manifest. Obviously, I do 'ls -1 listing_local' and then diff that file with listing_server.
But is it possible to diff the manifest and the output of ls immediately to the diff command?