Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

comparing 2 directories structure

Status
Not open for further replies.

tg2003

IS-IT--Management
Feb 6, 2003
270
IL
Hello,

Please advice me how to compare the filenames, the hierarchy and its content between of two structures.
(In Windows I'm using "windiff")

Thanks in advance!
 
Try 'man diff' for a start point. The utility windiff is a child of diff.
all the best things started in UNIX....
 
Try ls -lR > list1.txt in one directory
and ls -lR > list2.txt in the other

Then make a diff between both lists with diff list1 list2
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top