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 |...
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...
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 >...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.