Thursday, December 16, 2010

How to compare directories - AIX

Hi Folks,

Here is the script to compare the Directories in AIX.

for i in `cat /tmp/'
do
ls -l $i
if [ $? -eq 0 ]
then
echo "Found same filename $i"
fi
done

We have more options to compare the directories. Check the man page for dircmp too...

No comments:

Post a Comment