#!/bin/bash
# Name :  parserDeploy.sh
# Description : Deploys parsers on all log decoders
# Author : Joe Gumke
# Date : 8-14-15
# ChangeLog : 8-14-15 - Created JDG
# Example Usage : winevent_nic /tmp/v20_winevent_nicmsg.xml
# Example Usage : DIRECTORY_NAME PARSER_NAME

# Friendly Parser Name
parserDir=$1
# Raw Parser Name
parser=$2
parserPath="etc/netwitness/ng/envision/etc/devices/$1/"
for i in `cat /root/scripts/applianceList/logDecoders`;
        do
                scp -p $2 root@$i:/$parserPath
        done


#parserPath - /etc/netwitness/ng/envision/etc/devices/$parserName
#backupPath - /tmp/$parsername-decoder-datestamp.tar.gz
