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!

Search results for query: *

  1. jarekST

    comparing directory structure

    Thank you for all! Now I have two scripts :)) ######################################################### ##### using sdiff command (comtec17 solution) ######################################################### ls -l -R ./dir1 | awk'{print $1, $6, $7, $8, $9}' > listing1 ls -l -R ./dir1 |...
  2. jarekST

    comparing directory structure

    Thank you to all of you. The problem with above is that /dir1 and /dir2 have different names so: cat file1 file2|sort|uniq -u has no effect and there are still all files listed. Anyway you were very helpful and now I try to write the script for the future. Big thanks once again and all the...
  3. jarekST

    comparing directory structure

    Thank you for your advice. I thought there could be any designed command for this purpose. Actually I wrote and use following script to do it: ls -l -R /dir1 | awk '{print $1, $6, $7, $8, $9}' > listing1 ls -l -R /dir2 | awk '{print $1, $6, $7, $8, $9}' > listing2 diff listing1 listing2 >...
  4. jarekST

    comparing directory structure

    Hello, do you know command (is there any) in AIX which as a result would return differences between two directories and its subdirectories? I would like to compare two large filesystems and find out which directory/file is missing/changed since the time tar has been made. diff dir1 dir2 gives...

Part and Inventory Search

Back
Top