#!/bin/bash

sort -m <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-15_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-16_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-17_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-18_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-19_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-20_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-21_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-22_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-23_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-24_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-25_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-26_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-27_filtered_sorted_uniq.gz) \
        <(zcat /mnt/flashblade/dusanov/s3logs/2019-06-28_filtered_sorted_uniq.gz) \
        | uniq | gzip > uniq_in_window.gz
