Hi, I have three servers which have a ZFS dataset replicated between them (one master two slaves) I need to compare the data collected (via ssh) on the three systems and clean up snapshots as long as there is overlap. The command returns a list of snapshots like
snapshot1 date-of-creation snapshot2 date-of-creation etc
What I want to do is compare the lists and if snapshots 1-6 exist on all three do something with the first four on the master. Getting the info and then doing something with the results is no problem, I'd just like some pointers on where to start comparing the outputs....
Thanks
In reply to How to compare 3 lists by shammow
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |