Hi,
I have 32 files for which I want to check size of each file withe other file and if size is same then some action.
Any suggestion to write such script.
Logic:
- have list of 32 files
- using loop first compare size of one file with remaining 31 ,
- do same iteration for each file with other .
[list=a] - if a==b match found then compare content of files
- if both condition satisfies then rename first file as back and create touch file
[/list] - end.
Thanks