wget http://localhost/feeds/UTCAdjust.csv -O /root/feeds/UTCAdjust.csv --no-check-certificate

find /root/feeds | grep xml >/tmp/feeds
for feed in $(cat /tmp/feeds)
do 
  FEEDDIR=$(dirname $feed)
  FEEDNAME=$(basename $feed)
  echo $FEEDDIR
  echo $FEEDNAME
  cd $FEEDDIR
  NwConsole -c "feed create $FEEDNAME" -c "exit"
  scp *.feed root@192.168.123.3:/etc/netwitness/ng/feeds
  scp *.feed root@192.168.123.2:/etc/netwitness/ng/feeds
  scp *.feed root@192.168.123.44:/etc/netwitness/ng/feeds
  NwConsole -c "login 192.168.123.2:50004 admin netwitness" -c "/decoder/parsers feed op=notify" -c "exit"
  NwConsole -c "login 192.168.123.3:50002 admin netwitness" -c "/decoder/parsers feed op=notify" -c "exit"
  NwConsole -c "login 192.168.123.44:50002 admin netwitness" -c "/decoder/parsers feed op=notify" -c "exit"

done

