Tanti Technology

My photo
Bangalore, karnataka, India
Sandeep Kumar | Founder, Tanti Technologies At Tanti Technologies, I share practical knowledge, hands-on tutorials, and real-world solutions across Python, SQL, Docker, Kubernetes, CI/CD, AWS, Azure, Machine Learning, Generative AI, and Agentic AI. My mission is to simplify complex technologies and provide actionable insights that help developers, engineers, and businesses learn faster, build better, automate smarter, and innovate with confidence. 🚀 Learn • Build • Automate • Innovate Follow Tanti Technologies for practical technology insights and next-generation AI solutions.

Monday, 17 February 2014

To compare the directories in AIX


Who one doesn't have the access to man page kindly go through this...

dircmp Command

Purpose

Compares two directories and the contents of their common files.

Syntax

dircmp [ -d ] [ -s ] [ -w num ] Directory1 Directory2

Description

The dircmp command compares the two directories specified by the Directory1 and Directory2 parameters and writes information about their contents to
standard output. First, the dircmp command compares the file names in each directory. If the same file name appears in both, the dircmp command
compares the contents of both files.

In the output, the dircmp command lists the files unique to each directory. It then lists the files with identical names in both directories, but
with different contents. If no flag is specified, it also lists files that have identical contents as well as identical names in both directories.

The diff -r command offers a function similar to the dircmp command.

No comments:

Post a Comment