help with diff

From: <vdantonio_at_BISYS-Plans.com>
Date: Thu, 09 Aug 2001 09:54:06 -0400

good morning all:
I am writing a script on tru64 4.0F, I need to copy data from an input dir
to two other dir, but I need to list out the dirs and compare for same file
names. I did a man on diff and found the -s:

-s [Compaq] Reports identical files, which are otherwise not mentioned.

but it show the same data as without the option.

what would be the best way to compare two dirs and move that duped file to
another dir for review?

TIA
Vince
Received on Thu Aug 09 2001 - 13:59:19 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT