#!/bin/bash
ANAME=${PWD##*/}
T=`date +"%Y-%m-%d_%H%M"`
FILENAME=${ANAME}_${T}

echo "Linux "$T > version.txt
#tar cvzf ../${FILENAME}.tgz ../${ANAME}/
rar a -r -m5 ../${FILENAME}.rar ../${ANAME}/ -x../${ANAME}/node_modules
#rar a -r -m5 ../${FILENAME}.rar ../${ANAME}/
read -p "Ok"
