
-----------------------------------
deltatux
Sat Oct 25, 2008 7:08 pm

Bash shell programming: comparing directories
-----------------------------------
Hi,

I've been tasked to create a bash shell script to compare directories and only list out the differences between the two directory.

Does anyone have any ideas or pointers of how to go about this problem?

deltatux

-----------------------------------
Dan
Sat Oct 25, 2008 7:11 pm

RE:Bash shell programming: comparing directories
-----------------------------------
Look into dircmp: http://www.computerhope.com/unix/udircmp.htm

And diff if you want the diffrences between each file: http://www.computerhope.com/unix/udiff.htm

-----------------------------------
btiffin
Sat Oct 25, 2008 8:36 pm

RE:Bash shell programming: comparing directories
-----------------------------------
Or, some more hints

look into sort and uniq for old timer ways of attacking this one

Cheers
