#!/bin/bash
source $HOME/.gamerc

for set in 1 2 4 6 7 11 13 14 15 21 23 25 27 28 29 30; do
	echo S${set} | colorize yellow black
	ssh WZ${set}01 "get_log_filter 20211208 now Zone Debug 'Warning! Cast Skills while moving' | tee /tmp/s${set}_zone_debug_warning_20211208_20211209.log"
	ssh WZ${set}01 "cat /tmp/s${set}_zone_debug_warning_20211208_20211209.log | sort -t',' -k2 > /tmp/s${set}_zone_debug_warning_20211208_20211209_sort.log"
	ssh WZ${set}01 "rsync -avz /tmp/s${set}_zone_debug_warning_20211208_20211209_sort.log TEST:/home/g1admin/www/download/g1en_z_debug_warning_20211209/"
done
