diff three or more remote files

McGuywer

Executive Member
Joined
Jun 28, 2006
Messages
8,199
Reaction score
1,513
Location
Infinity and Beyond
Hi Guys,

Need some help.
At the moment, I am using this:
diff <(ssh host1 cat '/data/somefile') <(ssh host2 'cat /data/somefile')

How would I add a third, fourth, fifth etc file to diff?

Would a hash approach work?

Thank you.
 
Top
Sign up to the MyBroadband newsletter
X