compare bunch of files, one on one, between two Folders
Hi,
Wanted to write one shell script to compare bunch of files, one on one, between two Folders and if the difference found only filename should be written to the log file. Say for e.g Folder A Folder B Log File File A File A File A File B File B File C File C File C : : : : File N File N Please assist. |
what have you tried so far and where are you stuck.
i think md5sum in a for loop would be adaquate. |
You don't need a script, you need just a command:
Code:
diff -rq dir1/ dir2/ Code:
[root@dev /]# mkdir dir1 |
Thanks a lot, will try to map in my actual requirement then will let you know for any issue.
Thanks Again techies. |
All times are GMT -5. The time now is 02:23 PM. |