Live Chat!

Compare two directory listings

* * * * * 1 votos

November 8th, 2006 toydi

Given two directories: ~/dir-new/ and ~/dir/,
$ ls ~/dir-new/
file-01.txt
file-02.txt
file-new.txt
$ ls ~/dir/
file-01.txt
file-02.txt
file-old.txt
To compare them:
comm

Posted in Text Manipulation, comm, process substitution | Hits: 26710 | 2 Comments »